ibgadmin
asked on
Winscp ftp script not working
I have a WinSCP batch file that I am trying to utilize for uploading a file. The batch when run does open, but logs in only and does not upload the file or exit even from the script. Just keeps the window open. Any help would be greatly appreciated. Attaching file.
71142Orders.txt
71142Orders.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am from Linux oriented.
Hence thought of sharing the same.
Tried the same using:
1. Started vmplayer (Linux) at windows
2. Shared a folder at windows to Linux
3. mounted that folder at Linux
4. Modified given code based on above steps
5. Written codes (as per commands from FTP/batch commands)
Open in new window
Sample output:
Open in new window
Verified the file at mounted location of Linux
Open in new window
13:26 => 01:26 PMAlso verified the same using C:\Windows\System32\cmd.ex
Open in new window