doubt in uploading a file from local to remote

Advertisement

Ranjani
Joined:
Posts:
1
Location:
india

doubt in uploading a file from local to remote

hi!!
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@10.237.6.55
cd /home/sftp_usertemp/temp
option transfer binary
put c:\temp2\*.*
close
exit


in the console when i give winscp3 sftp_usertemp@10.237.6.55 /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.........

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,459
Location:
Prague, Czechia

Re: doubt in uploading a file from local to remote

Try to do only:
winscp3 /console /script=transfer.bat
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum