[Top][All Lists]

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

bug#4750: 23.1; copied files via dired/tramp/ssh garbled

From: Andreas Politz
Subject: bug#4750: 23.1; copied files via dired/tramp/ssh garbled
Date: Mon, 19 Oct 2009 18:18:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Andreas Politz <address@hidden> writes:
>>>> I open 2 dired buffers, one local, one remote via ssh.  Marking a (any)
>>>> file in the local buffer and pressing 'C RET' starts to copy it to the
>>>> remote directory.
>>>> Only a part of the file reaches it's destination. Neither dired nor
>>>> tramp report any problems. 
>> Anyway here is the debug log.
> OK, the problem is clear I believe.
> Your remote hosts runs AIX. Honestly, this is one of the systems we run
> into trouble from time to time ...
> ... there have been copied less bytes.
> There is a known bug in `process-send-string'. For some remote systems,
> it doesn't send the whole string. You seem to suffer from this.
> You might try a workaround, using `tramp-chunksize'. Read the docstring
> of that variable, in order to find a way how to set it for your case.

The method described there finds no flaws, up to 5000 bytes anyway.
Nevertheless I tested `tramp-chunksize' with some values
(10,1000,4000,10000), but no change.

It seems to constantly fail the very first time after a connection is
> Furthermore, I recommend you to set the variable `file-precious-flag' to
> t. In the Tramp case, it adds additional checks, whether a file has been
> written correctly.

At least there will be no surprises anymore,



> Best regards, Michael.

reply via email to

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