さくらVPSの初期状態では、ftpクライアントがインストールされてないので、
インストールしましょう。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# yum -y install ftp Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile epel/metalink | 6.6 kB 00:00 * base: ftp.iij.ad.jp * epel: ftp.kddilabs.jp * extras: ftp.iij.ad.jp * updates: ftp.iij.ad.jp base | 3.7 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ftp.x86_64 0:0.17-53.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================= Package Arch Version Repository Size ========================================================================================================= Installing: ftp x86_64 0.17-53.el6 base 58 k Transaction Summary ========================================================================================================= Install 1 Package(s) Total download size: 58 k Installed size: 95 k Downloading Packages: ftp-0.17-53.el6.x86_64.rpm | 58 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : ftp-0.17-53.el6.x86_64 1/1 Verifying : ftp-0.17-53.el6.x86_64 1/1 Installed: ftp.x86_64 0:0.17-53.el6 Complete! |
これで、以下のようにしてftpが使用できます。
1 |
$ ftp example.com |
/