ServicesTech SupportResourcesWeb E-mailSearch the InternetSite Map
Back to AlaNet's Homepagebanner_bottom_middle.gif (1373 bytes)V.90 Information
Your Web Site
Back to Your Web Site
side_cap.gif (806 bytes)

Posting Personal Web Pages on AlaNet

Windows 95 FTP Client Command Reference
Common Code Examples


The below examples are from connecting into the AlaNet Server using the Windows 95 FTP client (which comes with Windows 95). Most code examples assume that you are currently in FTP -- which you can go to a DOS prompt and type ftp.

The code below uses the CODE type to show either commands to be typed or responses from the server. Some items my not fit all on one line. The bold text in the code areas indicate commands that you would type, the rest is text/information returned by FTP. If you are unfamiliar with the FTP commands used, please consult the FTP client command list.

All the below examples use the user "jtaylor" to login.


Task Description:
Open FTP to AlaNet and login

FTP Session:
ftp> open downtown.ala.net
Connected to downtown.ala.net.
220 downtown.ala.net FTP server (Version wu-2.4(1) Fri Dec 29 06:15:49 GMT 1995)
ready.
User (downtown.ala.net:(none)): jtaylor
331 Password required for jtaylor.
Password:
230 User jtaylor logged in.
ftp>


Task Description:
Open FTP, login, change local directory to c:\mywebsite, change remote directory to public_html, upload index.htm as index.html, and then quit FTP.

FTP Session:
ftp> open downtown.ala.net
Connected to downtown.ala.net.
220 downtown.ala.net FTP server (Version wu-2.4(1) Fri Dec 29 06:15:49 GMT 1995)
ready.
User (downtown.ala.net:(none)): jtaylor
331 Password required for jtaylor.
Password:
230 User jtaylor logged in.
ftp> lcd c:\mywebsite
Local directory now C:\mywebsite
ftp> cd public_html
250 CWD command successful.
ftp> send index.htm index.html
200 PORT command successful.
150 Opening ASCII mode data connection for index.html.
226-WARNING! 60 bare linefeeds received in ASCII mode
File may not have transferred correctly.
226 Transfer complete.
2213 bytes sent in 0.00 seconds (2213000.00 Kbytes/sec)
ftp> quit

Goodbye.


Task Description:
While in a current FTP session, query out the current (or default) directories -- both local and remote.

FTP Session:
ftp> lcd
Local directory now C:\WINDOWS\DESKTOP
ftp> pwd
257 "/usr/home/jtaylor" is current directory.
ftp>


Table of Contents

Last Updated: Thursday, March 25, 1999

spacer.gif (53 bytes)