hemantkumar.suppamani@celcom.com.my

Advertisement

Hemant2305
Guest

hemantkumar.suppamani@celcom.com.my

Hi Team,

we have been trying to perform automation but for some reason the file is not being moved to the remote server. appreciate if you can advise on this.

i followed this link: https://winscp.net/eng/docs/guide_schedule to do the automation.

Appreciate if you can help on this,

Thank you
Description: attached is the screesnhot from task scheduler and logs with script used for the automation

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: hemantkumar.suppamani@celcom.com.my

Your command line is wrong. It should be (one line):

/log=c:\GLLogs\winscp.log /command "open sftp://12716:Temp%401234@10.5.144.41/ -hostkey=""ssh-rsa 2048 u85/zQW1QOs+SpCxQCvmA5Z9WNyYYUTB1mSHStjoTCg=""" "synchronize remote C:\FTPdata\matrixx\PROD\GLposting\* /home/vs12716/GLPosting" "exit"

https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/commandline#scripting
https://winscp.net/eng/docs/commandline#syntax

Reply with quote

Advertisement

You can post new topics in this forum