[Info-vax] FTP/SSL from OpenVMS (client) to Unix Filezilla (server) failure
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Thu Aug 23 07:32:00 EDT 2012
On 2012-08-23, Dirk Munk <munk at home.nl> wrote:
> Bob Koehler wrote:
>> In article <a2f9f$5034ee5f$5ed43c14$24821 at cache80.multikabel.net>, Dirk Munk <munk at home.nl> writes:
>>>
>>> Years back I tried to use SFTP on VMS. It wasn't a success, SCP worked
>>> much better. I'm sure that at the time SFTP transferred in ASCII mode,
>>> now I read that it is transferring in binary mode, very odd.
>>
>> SFTP originally did not have an ASCII mode. I just sent a bunch of
>> bytes from one computer to the other and you got to figure out
>> what to do with them after they got there.
>>
>
> I don't agree, because that would be a binary transfer. At the time I
> read an O'Reilly book on SSH, and it clearly stated that only ASCII
> transfers were possible. Great for text files, not usable for binaries,
> including JPG's etc. , at least not on VMS or between Unix and Windows
> because of the <lf> to <lf><cr> conversion.
Depends on the operating system.
In Linux-land, the file gets transmitted as-is, which makes it binary mode.
I just transmitted a jpeg between two Linux boxes and the MD5 checksums
were identical on both systems.
In VMS-land, the TCP/IP Services sftp client originally took your file and
converted it internally to stream-lf format during transmission.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
More information about the Info-vax
mailing list