Windows Task to PUT files onto FTP location issue
Hi all,
I'm currently using WINSCP to test an inbound and outbound file transfer in a testing environment. I'm using Windows Task Scheduler to do this. The server I'm working is using Windows Server 2003.
Below is the suffix I've placed onto the task, and I'm successfully able to retrieve files from the /deliverynotes location, and save them to the local directory defined.
FTP Get
Below is the entire string in the task
I have the following as my suffix for an FTP PUT command
FTP PUT
Below is the string in the task
I've attached the logs for the outbound PUT task. It is going through the files and recording it is moving them, but it is not. I've run this from cmdline using Winscp.com, and I can see there is 0B being marked against the files and a 0% status before it terminates.
Would greatly appreciate help. I did an original test on this in a W7 environment and all worked fine, but having problems trying to get my setup work in a server 2003 environment.
I'm currently using WINSCP to test an inbound and outbound file transfer in a testing environment. I'm using Windows Task Scheduler to do this. The server I'm working is using Windows Server 2003.
Below is the suffix I've placed onto the task, and I'm successfully able to retrieve files from the /deliverynotes location, and save them to the local directory defined.
FTP Get
/log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_inbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "get /deliverynotes K:\DATA\FTP\Savage_and_Whitton\EDN" "exit"
Below is the entire string in the task
C:\PROGRA~1\WinSCP\WinSCP.exe /log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_inbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "get /deliverynotes K:\DATA\FTP\Savage_and_Whitton\EDN" "exit"
I have the following as my suffix for an FTP PUT command
FTP PUT
/log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "put K:\DATA\FTP\Savage_and_Whitton\SiteOrders /orders" "exit"
Below is the string in the task
C:\PROGRA~1\WinSCP\WinSCP.exe /log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "put K:\DATA\FTP\Savage_and_Whitton\SiteOrders /orders" "exit"
I've attached the logs for the outbound PUT task. It is going through the files and recording it is moving them, but it is not. I've run this from cmdline using Winscp.com, and I can see there is 0B being marked against the files and a 0% status before it terminates.
Would greatly appreciate help. I did an original test on this in a W7 environment and all worked fine, but having problems trying to get my setup work in a server 2003 environment.
Last edited by Furyio on 2016-06-27 11:31; edited 1 time in total