Me wrote:
Hi,
I setup WINSCP to transfer a txt file to a sftp server. The file is transferred but the format changes. Are there any option to specify transfer mode and file system (win/unix) in command mode? I can't find any info about it.
I use the sample file for scripting and start it from SQL server on a Windows server. FTP server is using Globalscape SFTP server and I believe it is a Windows server, though I'm not sure.
I use
option batch on
option confirm off
open xxx:yyy@zz.zz.zz.zz
put e:\data\1.txt
close
exit
Need to know how I can
force BIn instead of ascii, which is used by default. That was the problem.