How to use FTP's APPEND command in a script?
- by btelles
Hi there,
For some reason when I try to use "append" while inside an FTP script, the ftp client appears to hang.
I've tried all sorts of different variations (for example, including the destination filee and not, using quotes and not), and all I ever get is a "No such file or directory" error (and I KNOW it's there) or it hangs on an 200 Request OK and never does anything.
ftp> open ibm.some_server
Connected to ibm.some_server
230 USER1 is logged on. Working directory is "USER1.".
Remote system type is MVS.
ftp> cd 'Z.TABS.'
250 "Z.TABS." is the working directory name prefix.
ftp> append 'SAMASCPY'
'SAMASCPY': No such file or directory
ftp> append SAMASCPY
200 Port request OK.
Anyone know what could be going on?