Need to run Batch Script on FTP window machine

Advertisement

amit0010
Joined:
Posts:
1
Location:
Malaysia

Need to run Batch Script on FTP window machine

I need to do automation for upload and then run the same batch script on FTP server.

I can upload "test.bat" file on FTP server using below batch script.

winscp.com /command ^
    "open ftp://username:password@FTPserverIP" ^
    "cd /CSP/dev/" ^
    "binary" ^
    "put d:\test.bat" ^
    "exit"
pause

Now i need to run "test.bat" on FTP server from remote server.

How i can run batch script on FTP server from remote server?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum