Topic "File transfer fail"

Author Message


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"
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Avoid the "exit" to keep results on screen to check what's going on.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License