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

Advertisement

Advertisement

You can post new topics in this forum