Are transfer presets working in WinSCP.comcommand line mode?

Advertisement

duckman
Guest

Are transfer presets working in WinSCP.comcommand line mode?

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?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Are transfer presets working in WinSCP.comcommand line mode?

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:
https://winscp.net/eng/docs/scriptcommand_put
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum