In message <_A3761@delegate-en.ML_> on 06/18/07(16:30:55)
you "Nuellmann, Thorsten" <firstname.lastname@example.org> wrote:
Hmm... I have Debian 3.1 on VMWare with sftp dated Nov. 2004:
-rwxr-xr-x 1 root root 61164 2004-11-29 00:33 /usr/bin/sftp
It seems that the version does not have the problem of "ECHO" but
has the problem of "seek". Thus it does not work with "noseek"
MountOption without the patch (The only machine I have which have no
"seek" problem is my iMac with MacOSX10.2).
|I coped with the problems in 9.6.2-pre1 and it seems to work with any
|version of sftp command. But if you use it practically, especially if
|you use it to download a large file, it is recommended to modify the
|sftp command as the enclosed patch including:
| sftp-client.c: suppress error on seek error (to be able to write to
| bsd-openpty.c: suppress turning on of ECHO
|With a sftp commaned with the modification to sftp-client.c, you can use
|it as follows which does not create a temporary file of the size of the
| MOUNT="/* sftp://server/* noseek"
|With the modifcation to bsd-openpty.c, you can get rid of the prompt
|of sftp inserted at the top and end of a directroy list.
9 9 Yutaka Sato <email@example.com> http://delegate.org/y.sato/
( ~ ) National Institute of Advanced Industrial Science and Technology
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller