tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.3.5.26.2); Copy-paste of folder from Windows machine to Lin


From: Michael Albinus
Subject: Re: tramp (2.3.5.26.2); Copy-paste of folder from Windows machine to Linux server does not work
Date: Thu, 11 Jul 2019 10:05:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Guillaume Demeyère <address@hidden> writes:

> Hello Michael,

Hi Guillaume,

> So I missed the trailing slash, very good point. However, if I forget
> this slash when I copy-paste on a local directory, I get 
> "funcall-interactively: File is a directory: c:/blabla/tmp", which
> seems more reasonable than a base64 error.

Good point. I will add a respective error message in Tramp.

> So I re-did the test with the trailing slash, and it does work,
> indeed. 

Ahh, finally. Good to know.

> I also noticed that, when tramp-inline-compress-start-size is *not*
> nil, the error only appears on certain files : the  copy works well on
> others. That's why I suspect an encoding error. To make my point, I
> ran the test on two different files : Main.js and file1.txt. On
> file1.txt (only text), the copy-paste works. On Main.js (JS file), the
> copy-paste fails.

Compression happens only for files with a size larger than
tramp-inline-compress-start-size (4096 per default). I suppose it works
for files which are smaller.

I have committed the changed initial value of
tramp-inline-compress-start-size for win32 systems to the
repositories. Will be available with Emacs 26.3, and the next Tramp
version in ELPA.

> Regards,
>
> Guillaume

Best regards, Michael.



reply via email to

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