Re: Transfer of ascii data is dropping first line
Can I have a copy of the file you are transferring?
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
ÿþ
) being inserted at the beginnig of the first line which cause the transfer to drop that line. Can you help?
option batch on
option confirm off
option transfer ascii
open sftp://username:password@sftp.sitename.com -hostkey="ssh-xxx 0000 xx:00: 00:xx:x0:0x:xx:x0:x0:x0:00:x0:0x:00:x0:0x"
put "\\myfilepath\firstfile.txt" "/HOME/Put/ firstfile.txt"
put "\\ myfilepath \secondfile.txt" "/HOME/Put/ secondfile.txt"
close
exit
"C:\Program Files\WinSCP\winscp.com" /script="C:\Program Files\WinSCP\pospay.txt"