Differences

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

2022-10-07 2022-10-07
no summary (83.86.89.78) (hidden) (untrusted) no summary (83.86.89.78) (hidden) (untrusted)
Line 1: Line 1:
====== Command-line Options ====== ====== Command-line Options ======
-@echo off+===== [[parameters]] Parameters ===== 
 +Parameters for ''[[executables|winscp.exe]]'' executable: 
 +<code batch> 
 +winscp.exe site|workspace|folder 
 +winscp.exe <session_url>[/path/[file]] 
 +winscp.exe [mysession] [/sessionname=<name>] 
 +winscp.exe [mysession] [/newinstance] 
 +winscp.exe [mysession] /edit <path> 
 +winscp.exe [mysession] /browse[=<file>] 
 +winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]] 
 +winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults[=secs]] 
 +winscp.exe [mysession] /refresh [path] 
 +winscp.exe [mysession] /upload file1 file2 file3 ... [/defaults[=secs]] 
 +winscp.exe [mysession] [/privatekey=<file> [/passphrase=<passphrase>]] 
 +winscp.exe [mysession] [/hostkey=<fingerprint>] 
 +winscp.exe [mysession] [/username=<user>] [/password=<pass>] 
 +winscp.exe [mysession] [/clientcert=<file> [/passphrase=<passphrase>]] 
 +winscp.exe [mysession] [/certificate=<fingerprint>] 
 +winscp.exe [mysession] [/passive[=on|off]] [/implicit|explicit] 
 +winscp.exe [mysession] [/timeout=<sec>] 
 +winscp.exe [mysession] [/rawsettings setting1=value1 setting2=value2 ...] 
 +winscp.exe [/console] [/script=<script_file>] [/command command1 command2 ...] 
 +          [/parameter // param1 ...] 
 +winscp.exe [/log=<logfile>  [/loglevel=<level>] [/logsize=[<count>*]<size>]] 
 +          [/xmllog=<logfile> [/xmlgroups]] 
 +winscp.exe [/ini=<inifile>] 
 +winscp.exe [/rawconfig config1=value1 config2=value2 ...] 
 +winscp.exe [/rawtransfersettings setting1=value1 setting2=value2 ...] 
 +winscp.exe /batchsettings <site_mask> setting1=value1 setting2=value2 ... 
 +winscp.exe /keygen keyfile [/output=<file>] [/changepassphrase] [/comment=<text>] 
 +winscp.exe /update 
 +winscp.exe /info 
 +winscp.exe /help 
 +</code>
-&quot;C:\WinSCP\WinSCP.com&quot; ^ +Parameters for ''[[executables|winscp.com]]'' executable: 
-· /command ^ +&lt;code batch&gt; 
-····&quot;open sftp://respectuser:%%23%%40%%25asda231@respect-zorggroep-test.westeurope.cloudapp.azure.com/ -hostkey=&quot;&quot;ssh-ed25519 255 j0CEyuIib1XChID3fbj+rFQ79bsvktddlwE8n5hzLp4=&quot;"&quot; ^ +winscp.com [/script=script_file] [/command command1 command2 ...] 
-····&quot;cd /CardsOnlineExport&quot; ^ +···········[/parameter // param1 ...] 
-····&quot;lcd C:\WinSCP\Scripts\CardsOnline\downloads&quot; ^ +winscp.com [/stdout[=binary|chunked]] [/stdin] 
-····&quot;get topdesk.csv&quot; ^ +winscp.com [/log=&lt;logfile&gt; [/loglevel=&lt;level&gt;] [/logsize=[&lt;count&gt;*]&lt;size&gt;]] 
-····&quot;exit&quot; +···········[/xmllog=&lt;logfile&gt; [/xmlgroups]] [/nointeractiveinput] 
- +winscp.com [/ini=&lt;inifile&gt;] 
-set WINSCP_RESULT=%ERRORLEVEL% +winscp.com [/rawconfig config1=value1 config2=value2 ...] 
-if %WINSCP_RESULT% equ 0 ( +winscp.com /batchsettings &lt;site_mask&gt; setting1=value1 setting2=value2 ... 
-··echo Success +winscp.com /keygen keyfile [/output=&lt;file&gt;] [/changepassphrase] [/comment=&lt;text&gt;] 
-) else ( +winscp.exe /info 
-··echo Error +winscp.com /help 
-+&lt;/code&gt;
- +
-powershell.exe -file &quot;C:\WinSCP\Scripts\CardsOnline\Update_AD_Mifare.ps1&quot; +
- +
-IF EXIST &quot;C:\WinSCP\Scripts\CardsOnline\downloads\screencheck_topdesk_cardinfo.csv&quot; DEL /F &quot;C:\WinSCP\Scripts\CardsOnline\downloads\screencheck_topdesk_cardinfo.csv&quot; +
- +
-ren &quot;C:\WinSCP\Scripts\CardsOnline\downloads\topdesk.csv&quot; screencheck_topdesk_cardinfo.csv +
- +
-powershell.exe -file &quot;C:\WinSCP\Scripts\CardsOnline\screencheck_to_topdesk_upload.ps1&quot; +
- +
-exit /b %WINSCP_RESULT%+
==== [[session]] Session ==== ==== [[session]] Session ====

Last modified: by 83.86.89.78