Sourceforge files upload

SCP
User jsmith seeks to put file.zip to the Rel_1 directory of his project, fooproject:

scp file.zip jsmith,fooproject@frs.sourceforge.net:/home/frs/project/f/fo/fooproject/Rel_1

Rsync
User jsmith seeks to put file.zip to the Rel_1 directory of his project, fooproject:

rsync -e ssh file.zip jsmith,fooproject@frs.sourceforge.net:/home/frs/project/f/fo/fooproject/Rel_1/

SFTP
User jsmith seeks to put file.zip to the Rel_1 directory of his project, fooproject:

$ sftp jsmith,fooproject@frs.sourceforge.net
Connecting to frs.sourceforge.net…
jsmith,fooproject@frs.sourceforge.net’s password:
sftp> cd /home/frs/project/f/fo/fooproject/Rel_1
sftp> put file.zip
Uploading file.zip to /home/frs/project/f/fo/fooproject/Rel_1/file.zip
ws 100% 1573 1.5KB/s 00:00
sftp>

SSH

cd /home/frs/project/f/fo/fooproject

SSH给网站作异地FTP备份

主站打包
tar czf  xiaokyun.com.tar.gz *

[xiaokyun@server backups]$ ftp /*启用FTP客户端
ftp> open backup.xiaokyun.com /*打开远程服务器域名或IP
Connected to backup.xiaokyun.com.
220 ProFTPD 1.3.1 Server ready.
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (backup.xiaokyun.com:xiaokyun): ftp /*输入用户名
331 Password required for ftp
Password:pwd /*输入密码
230 User ftp logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put xiaokyun.com.tar.gz     xiaokyun.com.tar.gz /*上传文件
local: xiaokyun.com.tar.gz remote: xiaokyun.com.tar.gz
227 Entering Passive Mode (74,82,161,100,139,96).
150 Opening BINARY mode data connection for b.tar.gz
226 Transfer complete
21211756 bytes sent in 90 seconds (2.3e+02 Kbytes/s)
ftp>

镜像站解压
tar zxvf xiaokyun.com.tar.gz