Re: Secure Web Server Version 2.0 available for download

From: James T Horn (horn_at_shsu.edu)
Date: 06/22/04


Date: 22 Jun 2004 07:15:55 -0700

Our problem is not with ftp, but with sftp which seems to only support
stream_lf for ascii, where ftp is not so restricted.

"Neil Rieck" <n.rieck@sympatico.ca> wrote in message news:<qMKAc.39736$nY.1291816@news20.bellglobal.com>...
> "James T Horn" <horn@shsu.edu> wrote in message
> news:843706dc.0406181308.10a9a6e6@posting.google.com...
> > In all this discussion, we are finding that using sftp to transfer
> > files between systems is having problems with the non-streamlf files.
> > We are having to convert files created using cobol to streamlf before
> > we us sftp to transfer the files.
> >
> > Anyone having the same kind of problem with sftp and non-streamlf
> > files?
>
> I'm no expert but I've only ever encountered three types of problems using
> any kind of FTP:
>
> 1. newbees prefer to use BINARY transfers for everything. As I said in a
> previous posting, when sending TEXT you must use ASCII mode so that text
> stored a certain way on one system is converted to the expected format for
> the other system. (Some systems end a line of text with <cr>, some with
> <lf>, some with <cr><lf>, one with <ctrl-z>, and OpenVMS with nothing at all
> because the lines are usually stored in RMS as records that appear to
> resemble Pascal strings). BTW, don't take my word for any of this, just
> check the RFCs.
>
> 2. some systems treat BINARY and IMAGE as synonyms while others treat them
> differently. I'm currently using TCPware's FTP to send binary files to a
> UNIX system. I must use IMAGE to send files to UNIX while the UNIX system
> must send them back using BINARY (not all UNIX systems support the IMAGE
> command). BTW, TCPware's help states that BINARY mode should only be used to
> send certain files like ".OBJ" and ".STB".
>
> 3. FTPing a file with a non standard block size (like a VMS save set) will
> almost always change the block size to 512 bytes. So if you need to do a
> restore, you either FTP or copy the saveset back to OpenVMS and then run a
> little tool to correct the block size. BTW, this is officially known as "FTP
> Induced Save Set Corruption". Click here for more details:
> http://h71000.www7.hp.com/openvms/freeware/backup.html
>
>
> Neil Rieck
> Kitchener/Waterloo/Cambridge,
> Ontario, Canada.
> http://www3.sympatico.ca/n.rieck/links/cool_openvms.html



Relevant Pages

  • Re: Secure Web Server Version 2.0 available for download
    ... > files between systems is having problems with the non-streamlf files. ... > we us sftp to transfer the files. ... any kind of FTP: ... I must use IMAGE to send files to UNIX while the UNIX system ...
    (comp.os.vms)
  • How to set ascii mode in sftp
    ... I'm using ssh and sftp into a Solaris 9 machine. ... With ftp I can set the transfer mode between ascii and binary like this ...
    (SunManagers)
  • Re: Copy file to a remote IP address
    ... What is the best way to achieve this in VFP. ... I need the user to send a report file (text file ... with report data) to a remote location (remote IP address or a FTP ... If you don't have a unix system handy you can start here: ...
    (comp.databases.xbase.fox)
  • SUMMARY: How to set ascii mode in sftp
    ... Pretty much people said with sftp the transfer mode is automatic ... With ftp I can set the transfer mode between ascii and binary like this ...
    (SunManagers)
  • Packed decimal conversions in Soalris.
    ... I am doing FTP from mainframe system to Unix system. ... The source file has ... packed decimal notation. ...
    (SunManagers)