[Info-vax] Potential loss of data problem in sftp client in TCP/IP Services ?

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Mon Mar 12 19:32:38 EDT 2012


In article <4091536.178.1331567828519.JavaMail.geo-discussion-forums at pbbqc1>, Ken Fairfield <ken.fairfield at gmail.com> writes:
>On Monday, March 12, 2012 8:12:48 AM UTC-7, Simon Clubley wrote:
>> I am experiencing a file truncation problem with a TCP/IP engineering
>> image version of the TCP/IP Services sftp client and I am wondering
>> if anyone here can reproduce it.
>> 
>> Try using the sftp client to send something small (so that it's easy to
>> check; I am using my login.com) to a Linux sftp server.
>> 
>> When I do this (both in "ascii dos" mode and binary mode) the last
>> few dozen bytes of my login.com are lost during transfer.
>
>I don't understand this.  Granted, I don't have access to
>a VMS sftp client or server anymore, but on my RHEL 5.5 server,
>the sftp client knows nothing of the ftp mode commands like 
>"binary", "image", "ascii", etc...  I thought these were 
>simply dropped from sftp.

sftp> help
SFTP client Sftp2
© Copyright 1976, 2003 Hewlett-Packard Development Company, L.P.

Type 'help <topic>', where <topic> is one of the following commands:

open            lopen           close           quit            cd
lcd             pwd             lpwd            ls              lls
get             mget            put             mput            rm
lrm             mkdir           lmkdir          rmdir           lrmdir
rename          lrename         readlink        lreadlink       symlink
lsymlink        ascii           binary          auto            setext
getext          lsroots         debug           verbose         help

However, I've never done anything but a put or get and sftp seems to
properly handle all the rest.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

Well I speak to machines with the voice of humanity.



More information about the Info-vax mailing list