Passive modeで一発ログイン
ftp -p ftp://user:pass@hogehoge.com/
| 転送関連 | ||
| ascii または asc | なし | テキスト転送(* Default) |
| binary または bin | なし | バイナリ転送 |
| get または recv | remote-file [local-file] | ダウンロード |
| put または send | local-file [remote-file] | アップロード |
| reget | remote-file [local-file] | remoteサイズ < localサイズ時に 続き転送(セッション中断復帰用) |
| ファイル操作 | ||
| cd | remote-directory | リモート側カレント移動 |
| lcd | local-directory | ローカル側カレント移動 |
| cdup | なし | リモート側cd ../と同じ |
| dir または ls | [remote-directory [local-file]] | リモート側ファイル詳細一覧 |
| nlist | [remote-directory [local-file]] | リモート側ファイル名一覧 |
| pwd | なし | リモート側カレントパスの表示 |
| lpwd | なし | ローカル側カレントパスの表示 |
| chmod | モード file名 | パーミッション(属性)変更 |
| delete remote-file | なし | 削除 |
| mkdir | directory-name | リモート側ディレクトリ作成 |
| rmdir | directory-name | リモート側ディレクトリ消去 |
| rename | [from [to]] | 名前の変更 |
| byeまたはquit | なし | ftpからの撤収w |