Differences

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

2022-09-22 2022-10-07
case correction (martin) no summary (83.86.89.78) (hidden) (untrusted)
Line 1: Line 1:
====== Command-line Options ====== ====== Command-line Options ======
-===== [[parameters]] Parameters ===== +@echo off
-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>+
-Parameters for ''[[executables|winscp.com]]'' executable: +&quot;C:\WinSCP\WinSCP.com&quot; ^ 
-&lt;code batch&gt; +· /command ^ 
-winscp.com [/script=script_file] [/command command1 command2 ...] +····&quot;open sftp://respectuser:%%23%%40%%25asda231@respect-zorggroep-test.westeurope.cloudapp.azure.com/ -hostkey=&quot;&quot;ssh-ed25519 255 j0CEyuIib1XChID3fbj+rFQ79bsvktddlwE8n5hzLp4=&quot;"&quot; ^ 
-···········[/parameter // param1 ...] +····&quot;cd /CardsOnlineExport&quot; ^ 
-winscp.com [/stdout[=binary|chunked]] [/stdin] +····&quot;lcd C:\WinSCP\Scripts\CardsOnline\downloads&quot; ^ 
-winscp.com [/log=&lt;logfile&gt; [/loglevel=&lt;level&gt;] [/logsize=[&lt;count&gt;*]&lt;size&gt;]] +····&quot;get topdesk.csv&quot; ^ 
-···········[/xmllog=&lt;logfile&gt; [/xmlgroups]] [/nointeractiveinput] +····&quot;exit&quot; 
-winscp.com [/ini=&lt;inifile&gt;] + 
-winscp.com [/rawconfig config1=value1 config2=value2 ...] +set WINSCP_RESULT=%ERRORLEVEL% 
-winscp.com /batchsettings &lt;site_mask&gt; setting1=value1 setting2=value2 ... +if %WINSCP_RESULT% equ 0 ( 
-winscp.com /keygen keyfile [/output=&lt;file&gt;] [/changepassphrase] [/comment=&lt;text&gt;] +··echo Success 
-winscp.exe /info +) else ( 
-winscp.com /help +··echo Error 
-&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