When doing a file transfer, from a CL program, using FTP with the FTP
server running on a remote system, if the job runs interactively, all the
FTP status messages appear onscreen. Is there a way to prevent that
(without having to run the job in batch) ?
For example :
OVRDBF     FILE(INPUT) TOFILE(FTPSRCE) MBR(&MBRFTP)
STRTCPFTP  RMTSYS(&FTPSERVER)

the ftp instructions are contained in member &MBRFTin source file FTPSRCE.
When the cL is run something like that is displayed for example:

Input read from specified override file.
Connecting to host FTPSERVER address 10.152.10.10 using port 21.
220 FTPSERVER  Microsoft FTP Service (Version 3.0).
Enter login ID (username):
331 Password required for USERID.
230-Welcome to Remote NT Server
230 User USERID logged in.
Windows_NT version 4.0
Enter an FTP subcommand.
Enter an FTP subcommand.
> ASCII
> PUT QTEMP/file1 file2.csv
 > CLOSE
 221
 Enter an FTP subcommand.
 > QUIT
 Press ENTER to end terminal session.


How does one prevent these status messages from appearing , i.e allow the
ftp transfer to run 'silently'                                     and not
requiring the user to press Enter at the end of the transfer.


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.