Go to: Search
FIB > Computing laboratory > FAQ > Connection between systems Català | Castellano


Generals
Unix/Linux
Windows and PC
Java
Electronic mail
Remote connection
Connection between systems
The Website, El Raco and personal webpages
Final Thesis support



Connection between systems

Last modified: 10-06-2002



How can I transfer files between my various accounts?

R: In order to transfer files between different environments, use the ftp command. Here are some examples: If you are logged on to a Linux PC and you want to use ftp to transfer a file to Moonrey, type:

     $ ftp moonrey

Then you will need to give your username and password for the remote machine (moonrey in this case). Once logged in, you can use the cd command to put you in the right folder in the remote server.

For binary format file transfers, you must run the bin command before any transfer. In order to transfer ASCII, you must use the ascii command.

To get files from the remote machine, type: get <file_name>

To send files to the remote machine, type: put <file_name>

To exit the ftp, just type bye. Remember the ftp command prompt itself has on-line help (type help).

If you want to conduct ftp transfers on Windows 9x PCs from the computer rooms, you can use WS_FTP, which manages transfers in a graphical interface that is far more intuitive. However, you can also do this at the command prompt, by opening an MS-DOS session and typing ftp file_name.

Can I access another PC or Unix account from a unix machine? Can I access a Unix account from a PC?

R: On UNIX and LINUX:
In order to access the home folder of a machine, type: smbclient //machine/username -U username

The password required here is that of the account on this machine. For more information on the functioning of smbclient, you can use the man command.

On PCs:
You can set up any Unix home folder by adding a network device from the explorer. The path of the device would be: \\machine\username. You can only set up an account on a unix machine from a PC if it has the same username as the current Windows session.

printer friendly version