Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: File transfer fail

Avoid the "exit" to keep results on screen to check what's going on.
FileTransfer

File transfer fail

I am using winscp using sftp for long time. But this is first time, I am trying to automate. I created batch file as below. When I exceute batch file, command window pops up for second , but nothing happens at the end. I am just testing to transfer file to remote server. What is the issue here.

c:\Program Files\winscp\winscp.exe /console /log /command "option batch abort" "open xxx:xxx@yyy.yy.yy.yy" "put e:\name\example.txt /E:/ftproot/" "exit"