Uploading via DOS
If you have Microsoft Windows 95, 98 or Windows NT, you can use a simple FTP utility from a command shell while connected to the Internet. These instructions help you to learn the basic commands to log in, upload, download, and manage the files in your Web space.
Note from the Editor: We recommend using a graphical FTP utility because they're much easier to use, and usually make uploading files as simple as dragging and dropping. This utility has few features and some people may find it a bit difficult to use. Nevertheless, it comes standard with all recent versions of Windows, and so we are here to help.
Step 1
On your Start Menu, go to Programs and select MS-DOS Prompt (or Command Prompt).
Step 2
You'll see a screen like this:
Microsoft(R) Windows 98
(C) Copyright 1985-1998 Microsoft Corp.
C:\WINDOWS\>_
|
Step 3
Type in FTP and press the enter key on your keyboard. You'll then see an FTP prompt.
Microsoft(R) Windows 98
(C) Copyright 1985-1998 Microsoft Corp.
C:\WINDOWS\>
ftp>_
|
Step 4
Type in open my.core.com and press enter.
Microsoft(R) Windows 98
(C) Copyright 1985-1998 Microsoft Corp.
C:\WINDOWS\>
ftp>open my.core.com
|
Step 5
Now you will have been prompted for a username. Type in your username and press enter.
Microsoft(R) Windows 98
(C) Copyright 1985-1998 Microsoft Corp.
C:\WINDOWS\>
ftp>open my.core.com
Connected to my.core.com.
220 ProFTPD 1.2.0pre10 Server (CoreComm FTP Server)
User (my.core.com:(none)): username
|
Step 6
Now you must enter a password. Put in your password and press enter. A confirmation will show that you're logged in as shown here:
Microsoft(R) Windows 98
(C) Copyright 1985-1998 Microsoft Corp.
C:\WINDOWS\>
ftp>open my.core.com
Connected to my.core.com.
220 ProFTPD 1.2.0pre10 Server (CoreComm FTP Server)
User (my.core.com:(none)): username
331 Password required for username.
Password:
230 User username logged in.
ftp>_
|
Step 7
To make uploading your files an easier task, you need now to let the FTP utility know where you want to be uploading your files from. Let's say your HTML documents are stored in a folder named C:\MyWebsite, you would type LCD C:\MyWebsite and hit the enter key:
Microsoft(R) Windows 98
(C) Copyright 1985-1998 Microsoft Corp.
C:\WINDOWS\>
ftp>open my.core.com
Connected to my.core.com.
220 ProFTPD 1.2.0pre10 Server (CoreComm FTP Server)
User (my.core.com:(none)): username
331 Password required for username.
Password:
230 User username logged in.
ftp>lcd c:\MyWebsite
Local directory now C:\MyWebsite
ftp>_
|
Step 8
You are now logged into the highest level directory (folder) on your FTP space, and can perform the following commands to upload files, download files, delete files, create directories, etc. Other simple functions are given here as well (note that things added in [brackets] are giving an example of what to insert and where, WITHOUT the brackets):
LS
This will list all the files located in the current directory.
CD [directory name]
By typing CD and then a subdirectory name, you can change your location to a different directory. This specifies the remote directory that you're working from on the server.
Example: CD images
LCD [directory name]
By typing LCD and then a directory name, you can change your working directory on your computer to a different directory. This specifies the remote directory that you're working from on the server.
PUT [filename]
This command allows you to put a file on the server, by uploading it from your computer.
Unless the file is located outside of the local directory you just recently specified, you do not need to specify a drive and directory location for the file (you can simply put index.html instead of having to type put c:\mywebsite\index.html because of the LCD command).
Example: PUT index.html
GET [filename]
This is the command used to download files off of FTP, and is used in the same context as the PUT command. Files you download will be placed in the local directory you specified after logging in.
DEL [filename]
This will delete whatever filename is specified from the current remote directory on the FTP server. Example: DEL junk.html
MKDIR [directory name]
This will create a directory on the drive with the directory name you specify. Example: MKDIR images
MPUT [filenames]
This command is just like PUT, but allows you to upload more than one file at a time. You can use * as a wildcard, so to upload all the HTML files in a directory, you can say:
MPUT *.html
This can also be used to upload all files in a directory by typing
MPUT *
The commands MGET and MDEL are also for multiple downloads or deletions, respectively, from one simple command. Use MDEL carefully!
BYE
When you're all done, type BYE to exit the FTP utility, and then type EXIT to leave the DOS window.
?
Type the question mark and hit enter for a complete list of available commands.