Differences

This shows you the differences between the selected revisions of the page.

faq_script_ini 2015-02-18 faq_script_ini 2023-05-19 (current)
Line 1: Line 1:
====== How do I configure site, transfer and/or any other settings for which there are no script commands? ====== ====== How do I configure site, transfer and/or any other settings for which there are no script commands? ======
 +
===== Site Settings ===== ===== Site Settings =====
-For site settings, you can use ''-rawsettings'' switch of ''[[scriptcommand_open|open]]'' command.+For site settings, you can use ''[[scriptcommand_open#rawsettings|-rawsettings]]'' switch of ''[[scriptcommand_open|open]]'' command.
-See [[rawsettings|raw site settings]] syntax.+See [[rawsettings|raw site settings]] syntax. WinSCP can [[ui_generateurl|generate the code for you]].
-===== Global Settings =====+===== [[transfer]] Transfer Settings ===== 
 +For transfer settings, use ''-rawtransfersettings'' switch of script commands that transfer files, like [[scriptcommand_put#rawtransfersettings|''put'']], [[scriptcommand_get#rawtransfersettings|''get'']], [[scriptcommand_synchronize#rawtransfersettings|''synchronize'']], etc.
-For global settings, use ''[[commandline#configuration|/rawconfig]]'' command-line parameter.+See [[rawtransfersettings|raw transfer settings]] syntax.
-For example, to configure changing case of filenames to lowercase during transfer and reconnect interval, use: +===== [[global]] Global Settings =====
-<code batch&gt; +For global settings, use ''[[commandline#rawconfig|/rawconfig]]'' command-line parameter.
-winscp.exe ... /rawconfig Interface\CopyParam\FileNameCase=2 Interface\SessionReopenAuto=10000 +
-</code>+
-In [[library|.NET assembly]], use ''[[library_session_addrawconfiguration|Session.AddRawConfiguration]]'':+See [[rawconfig|raw configuration]] syntax.
-<code csharp> 
-session.AddRawConfiguration("Interface\\CopyParam\\FileNameCase", "2"); 
-session.AddRawConfiguration("Interface\\SessionReopenAuto", "10000"); 
-</code> 

Last modified: by martin