[email protected]

Advertisement

Hemant2305
Guest

[email protected]

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:
42,585
Location:
Prague, Czechia

Re: [email protected]

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

/log=c:\GLLogs\winscp.log /command "open sftp://12716:Temp%[email protected]/ -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