With MacSSH, BetterTelnet, and NCSA Telnet, how do I use FTP to transfer files between my computer and a remote host?
MacSSH, BetterTelnet, and NCSA Telnet have built-in FTP servers. This capability allows you to connect to a remote host, select files from your computer, and then transfer them to the remote host. To set up the program to do this, follow these steps:
- In MacSSH and BetterTelnet, from the
Editmenu, selectFTP Server.... In NCSA Telnet, from theEditmenu, selectPreferences, thenFTP Server.
- Click the server mode to
On, Username & Password Required.Warning: Though it is an option, do not choose
On, No Password Needed, as it will allow anyone on the Internet to connect to your computer and access all of your files. - Click
OK. Then, from theEditmenu, selectFTP Users.... In NCSA Telnet, from theEditmenu, selectPreferences, thenFTP Users.
- In the window that opens, click
New, then create a username and password for yourself. ClickOK, thenOKagain.
- If you are not already connected to the remote host, then from the
Filemenu, selectOpen Connection.... In the window that opens, in the "Host Name:" or "Host/Session Name:" field, enter the IP address or name of the host to which you wish to connect. ClickConnect. When prompted, enter your username and password for the remote host to which you are connecting.
- To run FTP, from the
NetworkorNetmenu, chooseSend FTP Command. The command that is then automatically entered for you is: ftp -n IP-numberIP-numberis replaced by the four-part IP number of the computer you are using (e.g., 129.79.123.45).
- Once you are logged in, use the
getcommand to upload to the remote host or theputcommand to download to your computer. At the FTP prompt, enter the appropriate command below, replacingfilenamewith the name of your chosen file: get filename put filename - When you're finished transferring files, repeat steps 1 and 2
above, except turn the FTP Server option off. Click
OK.
If you have a group of files in one directory that you wish to
transfer, you can use the command mget or
mput instead of entering get filename and
put filename, respectively. For each file in the
directory, you will be asked whether you want to transfer it or
not. For each file, press y for yes, or
n for no.
If your file is a plain ASCII text file, you do not need to change the transfer mode. If it has any other formatting codes, such as word processor or spreadsheet codes, or is a binary file such as a graphics file, you need to set the transfer mode to binary. Before you transfer the document, enter: binary
For help on FTP commands or a list of commands, enter either of the commands below: help command help To exit from FTP, enter either of the commands below: bye quit
Last modified on May 13, 2009.







