![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I am having problems when FTPing from OpenVMS 7.1-2 to an FTP client on a Windows 98SE system. When I "PUT" the ASCII files to the client all formatting (i.e. page breaks, carriage returns, line feeds) disappear. Is it a syntax issue? (see below) $! PROC COM TO FTP LAB REPORTS TO LASERVAULT $ SET DEF T: $ COPY BPWAR.*;*/SINCE=TODAY [HNA_300_TEMP.LAB_REPORTS] $ COPY MBCAR.*;*/SINCE=TODAY [HNA_300_TEMP.LAB_REPORTS] $ RENAME [HNA_300_TEMP.LAB_REPORTS]*.*;* *.RPT $ FTP 172.16.2.39 /USERNAME=REPORTS /PASSWORD=REPORTS PUT PATH13:[HNA_300_TEMP.LAB_REPORTS]*.* $ SET DEF PATH13:[HNA_300_TEMP.LAB_REPORTS] $ DEL *.*;* The Answer is : First, please use COPY/FTP. This command has been available since V6.2, and makes FTP operations in a DCL command procedure far easier. As for differences in the file formatting, that is normal whenever dealing with mixed operating system environments -- you can try using COPY/FTP/FDL to convert the file format to something the target system can support. You will want to specifically look at converting the input file format (an unspecified sequential file format) into a file format that the target platform is capable of supporting.
|