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 126.96.36.199 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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!