Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: doubt in uploading a file from local to remote

Try to do only:
winscp3 /console /script=transfer.bat
Ranjani

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.........