I've written a script to ftp text file to PC server. Tried on command line, no issue. But put that in CL program, I got the following error message.
My INPUT file is as follow
USER username userpwd
Log file shows the following error:
Output redirected to a file.
Input read from specified override file.
Connecting to host server at address 220.127.116.11 using port 21.
220 Microsoft FTP Service
Enter login ID (chris):
331 Password required for QUIT.
Enter an FTP subcommand.
* * * E N D O F R E P O R T * * *
What is the cause of the error? The exact username & password were used when test via command prompt. Thanks.