Topic "doubt in uploading a file from local to remote"

Author Message
[View user's profile]

Joined: 2007-01-16
Posts: 1
Location: india
i ve written the following batch to copy a file from my local to remote server and named it as transfer.bat

option batch on
option confirm off
open sftp_usertemp@
cd /home/sftp_usertemp/temp
option transfer binary
put c:\temp2\*.*

in the console when i give winscp3 sftp_usertemp@ /console /script=transfer.bat,
it just logins into sftp, but the target directory is empty....means the file is not getting uploaded....
so do i ve to make any changes to the settings??? or where am i goin wrong??
help me out na.........
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Try to do only:
winscp3 /console /script=transfer.bat
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