The MultiPro Network
Using FTP from the DOS/Command Prompt
FTP (File Transfer Protocol) allows you to exchange files with another machine across a TCP/IP (Internet) connection.
The FTP client is accessed from the DOS prompt in Windows 95. First, connect to the Internet. Then open a DOS window. Change the directory where the files you want to transfer are stored.
To connect to the MultiPro web server, type:
At the User: prompt, type your user id (the one you use to log in with your dialup account) and press Enter. The computer will tell you that a password is required. Type your password and press Enter. You will be connected to your directory on the web server and ready to transfer files.
ASCII and Binary Files
You can transfer files in one of two ways, ASCII or binary. ASCII, or text files, are files which contain text, such as HTML code. Binary files contain binary data like sounds and pictures. In short, your HTML code should be transferred as ASCII, and everything else should be binary.
To set your FTP client into ASCII mode, type ASCII at the FTP> prompt. To set it into binary mode, type BIN at the FTP> prompt.
Sending and Receiving Files
To send a file from your computer to the web server, type:
To download a file from the web server to your PC, type:
To send multiple files to the web server, use the MPUT command with a wildcard.
Example: to send all HTML files in the directory, type MPUT *.html
To download multiple files, use the MGET command with a wildcard.
To delete a file from the web server, use the DELETE command.
Example: DELETE oldfile.html
By default, when using the MPUT or MGET commands, you will be prompted for each file that matches your wildcard. If you want to have the files automatically transferred without prompting, type the PROMPT command. Typing PROMPT again will turn prompting back on.
When transferring large files, you may want to know how the transfer is progressing. The HASH command will make the FTP client display a has mark on the screen after a certain amount of data has been transferred. Typing the HASH command again turns off hashing.
If you want to create subdirectories on the web server, you can create and navigate them just as you would in DOS with the MKDIR and CD commands.
MKDIR directoryname creates a subdirectory.
CD directoryname changes to a new directory on the web server.
CD .. takes you up one directory level on the web server.
If you need to change directories on your local machine, the LCD command allows you to do so.
When youre finished transferring files, use the BYE command to disconnect and exit the FTP client.
At the FTP> prompt, you can type HELP for a list of commands and HELP command for help on a specific command.