Topic "Are transfer presets working in WinSCP.comcommand line mode?"

Author Message
duckman

Guest


I am using winscp.com from a DOS command line prompt, and WinSCP wants to put *.cgi to the server in binary mode. I have tried to turn on the Text preset (transfer mode to automatic, selection rule host name *), but that does not work? Do those settings apply to the winscp.com interface?
duckman

Guest


could not get the presets to work -- but when I changed the default to automatic, that works.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Presets cannot be used in scripting. But as you want to change transfer mode only, you do not need presets at all. Just use -transfer switch:
http://winscp.net/eng/docs/scriptcommand_put
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License