welcome: please sign in

Revision 2 as of 2005-10-10 11:39:39

Clear message
Edit

FileTransfer

The recommended way (and possibly only reasonable way at the moment) to upload content from your computer to our servers (or the other way around if you want to make backups) is to use scp. It is a secure and easy way to copy single files or whole directory trees.

If all you want is to keep a directory at hcoop in sync with your local changes, you should consider using rsync. It can significantly reduce bandwidth usage by only transmitting the differences between the two trees. Since version 2.6 rsync uses scp for file transfer by default. For older versions you have to use the -e (--rsh) option. For example:

rsync -avz -e ssh ~/html/hcoop/* username@hcoop.net:public_html

You can also use plain scp, but it overwrites destination files and is usually only applicable when you are uploading new files to hcoop:

scp -r ~/html/hcoop/* username@hcoop.net:public_html

You can run command-line sftp (Secure FTP) tool:

sftp hcoop.net
Connecting to hcoop.net...
Password:
sftp> help

With GUI FTP clients, SFTP connection is possible if the clients support "Secure FTP" or similar as the connection method. In Unix/Gnome, you could use for example gftp; for Microsoft Windows, example clients are the free WinSCP.sourceforge.net, or proprietary FTP Voyager.

We also started supporting the usual FTP protocol, but you need to request the ability to use it (see [https://members.hcoop.net Member Portal]), and we only allow "SSL Auth" method (see FtpConfiguration). Here's an example:

ftp hcoop.net
Connected to hcoop.net.
220 fyodor.hcoop.net FTP server ready.
Name (hcoop.net:user): 
234 AUTH SSL OK.
[SSL Cipher AES256-SHA]
331 Password required for user.
Password:
User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> help