• 追加された行はこの色です。
  • 削除された行はこの色です。
* コマンドラインからの実行 [#va0890c1]

** 使い方 [#ic66d370]
 winscp.com "MyWeb/server01" /command "lcd %USERPROFILE%\tmp" "get /var/html/index.html" "exit"
** ファイルダウンロード [#ic66d370]
*** CUIのWinSCP.comで実行 [#v595c1d8]
 WinSCP.com "MyWeb/host01" /command "lcd %USERPROFILE%\tmp" "get /var/www/test.html" "exit"

*** 上のコマンドをGUIのWinSCP.exeを起動して実行するには [#iebb31ab]
 WinSCP.exe" sftp://"MyWeb/host01"/var/www/test.html

** Synchronize [#yf506eda]
 WinSCP.exe" "MyWeb/host01" /synchronize myweb-files /var/www
ローカルのmyweb-filesディレクトリでリモートの/var/wwwディレクトリと同期する(ファイル転送の方向はローカル→リモート)。

** 参考 [#ec3508ac]
- コマンドライン: http://winscp.net/eng/docs/commandline
- コマンド: http://winscp.net/eng/docs/scripting#commands


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS