非公式FFFTPコマンドラインオプションのヘルプ
FFFTP 2.00相当のソースコードを独自に解析して、コマンドラインオプションを調べました。
コマンドラインツールのヘルプのような形式 (e.g. ls --help) で、公式のヘルプの「コマンドライン」のページよりもかなり詳しくかつユーザーにいくらか分かりやすくなるように作りました。
日本語バージョン
Usage: ffftp [オプション]...
FFFTP は FTP 接続およびファイル転送を行うクライアントです。
接続指定は -s <ホスト設定名> と <URL> が排他的に利用されます。
<URL> の書式: [ftp://][[userID][:password]@]hostname[:][port#][filename]
接続指定 [-s <ホスト設定名> | <URL>]:
-s, --set <ホスト設定名> FFFTP に保存されるホスト設定名を指定して接続します.
<URL> FTP サーバーの URL を直接指定します.
※ -s を指定しない場合は、FFFTP.exe と同じフォルダの FFFTP.ini の設定が利用されます.
転送モード [-a | -b | -x]:
-a, --ascii ASCII モードで転送 (テキストファイル)
-b, --binary バイナリ モードで転送 (バイナリデータ)
-x, --auto 自動判定モード (ファイル種別に応じて選択)
ホスト文字コード [-eu | -ji | -sj | -u8 | -8b]:
-eu, --euc ホスト側の文字コードとして EUC を使用
-e (非推奨。 -eu と同じ)
-ji, --jis ホスト側の文字コードとして JIS を使用
-j (非推奨。 -ji と同じ)
-sj, --sjis ホスト側の文字コードとして SJIS を使用
-u8, --utf8 ホスト側の文字コードとして UTF-8 (BOM なし) を使用
-8b, --utf8bom ホスト側の文字コードとして UTF-8 (BOM あり) を使用
ホストファイル名文字コード [-eun | -jin | -sjn | -u8n]:
-eun, --eucname ホスト側のファイル名の文字コードとして EUC を使用
-u (非推奨。 -eun と同じ)
-jin, --jisname ホスト側のファイル名の文字コードとして JIS を使用
-i (非推奨。 -jin と同じ)
-sjn, --sjisname ホスト側のファイル名の文字コードとして SJIS を使用
-u8n, --utf8name ホスト側のファイル名の文字コードとして UTF-8 を使用
ミラーリングアップロード/ダウンロード [-m | -d] [-f] [-q]:
-m, --mirror 接続後、ミラーリングアップロードを自動的に開始します.
-d, --mirrordown 接続後、ミラーリングダウンロードを自動的に開始します.
-f, --force (ミラーリング時) 開始確認を行わず実行します.
-q, --quit (ミラーリング時) 転送完了後、FFFTP を自動終了します.
保存動作 [--saveoff | --saveon]:
--saveoff 設定変更時、設定を保存しないようにします.
(この設定自体は保存されるため、毎回指定する必要はありません.)
--saveon 設定変更時に設定を保存するように戻します.
その他のオプション:
-z, --mpasswd <password> マスターパスワードを指定します.
-n, --ini <INIファイル> 指定した INI ファイルの設定で起動します.
(指定しない場合は、FFFTP.exe と同じフォルダの FFFTP.ini が利用されます.
INI ファイルは必ずフルパスで指定してください.)
-h, --help HTML ヘルプを開きます.
ソフトウェア更新関連:
--build-software-update <private-key-file> <password> <server-path> <hash-file> <list-file> <description>
ソフトウェア更新用ビルド処理を実行します.
private-key-file : 更新用秘密鍵ファイル
password : 秘密鍵のパスワード
server-path : 更新サーバーのパス
hash-file : 更新用ハッシュ値ファイル
list-file : 更新対象リストファイル
description : 更新内容の説明
--software-update <directory>
指定ディレクトリ内でソフトウェア更新を実行します.
--software-cleanup <directory>
更新後のクリーンアップを実行します.
使用例:
接続するホストがホスト一覧に登録されている場合は、その設定名を指定して接続できます。また、
接続後にミラーリングアップロードまたはミラーリングダウンロードを自動開始させることができます.
書式: -s 設定名 [[-m | -d] [-f] [-q]]
例:
-s "My Home Page" -m
(-s と設定名の間に空白が必要です。設定済みホスト "My Home Page" に接続し、
ミラーリングアップロードを開始します.)
接続するホスト名、URL を指定して接続することも可能です.
書式: [ftp://][[userID][:password]@]hostname[:][port#][filename]
例:
ftp://sota:password@host.co.jp:69/pub/readme.txt
(ユーザ "sota"、パスワード "password" でホスト "host.co.jp" のポート 69 に接続し、
"/pub/readme.txt" をダウンロードします.)
sota:password@host.co.jp/pub/readme.txt
("ftp://" やホスト名後の ":" は省略可能です.)
ftp://host.co.jp/pub/
(ホスト "host.co.jp" に anonymous で接続し、"/pub" にディレクトリ移動します.)
host.co.jp
(ホスト "host.co.jp" に anonymous で接続します.)
English version
Usage: ffftp [OPTION]...
FFFTP is an FTP client for connecting to servers and transferring files.
The connection specification is mutually exclusive: either specify -s <host-config-name> or provide a URL.
The URL format is: [ftp://][[userID][:password]@]hostname[:][port#][filename]
Connection Specification [-s <host-config-name> | <URL>]:
-s, --set <host-config-name> Specify the host configuration name saved in FFFTP.
<URL> Directly specify the FTP server URL.
(If -s is not specified, the settings from FFFTP.ini in the same folder as FFFTP.exe are used.)
Transfer Mode [-a | -b | -x]:
-a, --ascii Transfer in ASCII mode (for text files)
-b, --binary Transfer in binary mode (for binary data)
-x, --auto Enable automatic mode (select based on file type)
Host Encoding [-eu | -ji | -sj | -u8 | -8b]:
-eu, --euc Use EUC encoding for the host.
-e (Deprecated. Same as -eu)
-ji, --jis Use JIS encoding for the host.
-j (Deprecated. Same as -ji)
-sj, --sjis Use SJIS encoding for the host.
-u8, --utf8 Use UTF-8 (no BOM) for the host.
-8b, --utf8bom Use UTF-8 (with BOM) for the host.
Host File Name Encoding [-eun | -jin | -sjn | -u8n]:
-eun, --eucname Use EUC encoding for host file names.
-u (Deprecated. Same as -eun)
-jin, --jisname Use JIS encoding for host file names.
-i (Deprecated. Same as -jin)
-sjn, --sjisname Use SJIS encoding for host file names.
-u8n, --utf8name Use UTF-8 encoding for host file names.
Mirror Upload/Download [-m | -d] [-f] [-q]:
-m, --mirror After connecting, automatically start mirror upload.
-d, --mirrordown After connecting, automatically start mirror download.
-f, --force (When mirroring) Execute without prompting for confirmation.
-q, --quit (When mirroring) Quit automatically after transfer completes.
Save Behavior [--saveoff | --saveon]:
--saveoff Do not save settings when changes are made.
(This setting is itself saved, so you do not need to specify it every time.)
--saveon Re-enable saving of settings when changes are made.
Other Options:
-z, --mpasswd <password> Specify the master password.
-n, --ini <INI file> Specify the INI file to use.
(If not specified, FFFTP.ini in the same folder as FFFTP.exe is used.
The INI file must be specified with a full path.)
-h, --help Open the HTML help.
-k, --kana Pass half-width kana unchanged.
Software Update Options:
--build-software-update <private-key-file> <password> <server-path> <hash-file> <list-file> <description>
Execute the build process for software updates.
private-key-file : file containing the update key
password : password for the key
server-path : path on the update server
hash-file : file with update hash value
list-file : file listing update targets
description : description of the update
--software-update <directory> Perform a software update in the specified directory.
--software-cleanup <directory> Clean up after a software update.
Examples:
If the host is registered in the host list, you can specify its configuration name.
You can also automatically start mirror upload or mirror download after connecting.
Format: -s <host-config-name> [[-m | -d] [-f] [-q]]
Example:
-s "My Home Page" -m
(A space is required between -s and the host configuration name.
Connects to the registered host "My Home Page" and starts mirror upload.)
You can also specify the host name or URL directly.
Format: [ftp://][[userID][:password]@]hostname[:][port#][filename]
Examples:
ftp://sota:password@host.co.jp:69/pub/readme.txt
(Connects to host "host.co.jp" on port 69 with username "sota" and password "password",
and downloads "/pub/readme.txt".)
sota:password@host.co.jp/pub/readme.txt
(The "ftp://" prefix and the colon after the hostname are optional.)
ftp://host.co.jp/pub/
(Connects to host "host.co.jp" anonymously and changes directory to "/pub".)
host.co.jp
(Connects to host "host.co.jp" anonymously.)