To ftp from windows: from the start/run menu type
ftp hawk.depaul.edu
(You don’t have to be logged into your hawk account but it makes it easier to check on things if you are.) This will open an ftp window (in your hawk home directory) and display the following (follow the prompts):
Connected to hawk.depaul.edu.
220 hawk.depaul.edu FTP server (Version 1.1.214.4(PHNE_23950) Tue May 22 05:49:0
1 GMT 2001) ready.
User (hawk.depaul.edu:(none)): kshofner
331 Password required for kshofner.
Password:
230 User kshofner logged in.
To send a file from your pc to hawk (I use the a drive to save typing)
ftp> send a:\testfile.txt
200 PORT command successful.
150 Opening ASCII mode data connection for testfile.txt.
226 Transfer complete.
ftp: 2962 bytes sent in 0.00Seconds 2962000.00Kbytes/sec.
This will send the file named testfile.txt from the a drive to your home directory on hawk (or whatever directory you are in.). It will be named testfile.txt.
To send the same file to a specific directory and rename it at the same time: (absolute path and file name)
ftp> send a:\testfile.txt /hawk/s/ktestfile/hw1/testfile2.txt
200 PORT command successful.
150 Opening ASCII mode data connection for /hawk/s/ktestfile/hw1/testfile2.txt.
226 Transfer complete.
ftp: 2962 bytes sent in 0.00Seconds 2962000.00Kbytes/sec.
To change to another directory on hawk (help lists other commands, pwd ls, etc)
ftp> cd hw1
250 CWD command successful.
To get a file from hawk to the a drive on your pc:
ftp> get testfile2.txt a:\testfile2.txt
200 PORT command successful.
150 Opening ASCII mode data connection for testfile2.txt (2871 bytes).
226 Transfer complete.
ftp: 2962 bytes received in 1.15Seconds 2.58Kbytes/sec.
Default mode is ASCII for .cpp, .c & .txt files.
To change mode for .exe files type binary at the prompt
To log off from ftp
ftp>bye
This document compliments of Keith Shofner.
Note: some Windows systems have a GUI version of FTP. Also Windows XP allows you to attach an FTP host as a Network Files System.