[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp ( nil/nil); emacs-28.0.50: Can't copy a 1.4 MB file wit

From: Michael Albinus
Subject: Re: tramp ( nil/nil); emacs-28.0.50: Can't copy a 1.4 MB file with the plinkx method
Date: Sat, 23 Oct 2021 09:17:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

"H. Dieter Wilhelm" <> writes:

Hi Dieter,

>> Btw, if you have a recent SSH client on your Windows machine, you could
>> also try the Tramp sshx or scpx methods. Some weeks ago, I've made some
>> changes to support them, OpenSSH 7.9 shall be sufficient. See
>> <>.
> But when it is an openssh implementation why do you need to distinct ssh
> and sshx?  Doesn't the MS version know to use ~/.ssh/config?

sshx (and scpx) establish pseudo terminals, needed on MS Windows. See
the "-t -t" arguments of the ssh call.

>     Dieter
> PS: I lately copied some 250 images from a remote (Linux) server to my
> local machine (Linux).  The files ranged from 1 MB to 60 MB.  After a
> certain size (I think around 10 MB) Tramp is asking if one really wants
> to copy such a large file.  Is there a custom variable to avoid such
> queries?  Or couldn't you implement these nifty questions like ""yes
> [y], no [n], yes to all [!]"?  Otherwise one has to wait for the whole
> series to confirm the copying of individual files...

There is `large-file-warning-threshold', which you could set to
nil. This is a global variable (not Tramp specific); don't know whether
it is needed to make it configurable just for Tramp.

However, copying a bunch of large files, I believe Tramp's scp is
preferable. This doesn't ask this question (I hope :-)

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]