If you need to copy files from your workstation to a remote system, and that remote system allows you to write files to it using an FTP client, it is easiest to use the FTP Client to make the file transfer.
However, if the remote system does not allow you to copy files to it, you can use the FTP Server to transfer files to the system if you can connect to the system with Telnet, and if the remote system has an FTP client you can use.
Before copying files to a remote system, you need to:
Once you have the FTP Server prepared, and have connected to the remote system using Telnet, you can use the remote system's FTP client to connect to your workstation (using your workstation's fully-qualified host name or IP address).
If TCP/IP is not running on the remote system, you need to start it.
If the remote system's FTP client has a graphical or panelled interface, follow the instructions supplied with the client for using it. However, it is likely that you will have to use these FTP commands to connect to your workstation:
where servername is the address of your workstation. This command starts the FTP client.
where filenamespec is a valid file name, which can include wildcard characters. This command gets files from the server and puts them on the system that is running the FTP client. For example, to get all files that begin with the letters my, you could enter:
mget my*.*
where filenamespec is a valid file name, which can include wildcard characters. This command writes files that are on the system that is running the FTP client to the server (your workstation).
binary
The ascii and binary commands change the file transfer mode to ascii or binary. See "Copying Files to Your Workstation" on page 61 for information on file transfer modes.
The help command lists other FTP commands you can use to navigate the file systems on the FTP server and the remote system.
Once you are finished transferring files, enter quit to stop the FTP client.
HTML file generated May 15, 1996.