|
How
do I use FTP commands?
After
connecting to the niinet.net FTP server
and logging in, you can now manage the files
in your web site using standard FTP commands.
Here are the basic commands you’ll need.
ascii Switch
to ascii mode. Ascii mode is the default
mode and used for transferring text files.
bin Switch
to binary mode. For transferring binary
files like .ZIP files, .Z files and the
like.
cd Change
the directory on the remote computer.
dir List
the files in the current directory on the
remote computer.
ls Same
as dir, but shows less information sometimes.
get Copy
a file form the remote computer to yours.
hash Puts
a ‘#’ on the screen for every <number>
of bytes transferred. <number> is
1024 in some cases, 2048 in others but is
between 1024 and 4096 in most cases. Check
the ftp help function for more info on the
number for your client program.
help Gives
help on the use of the commands within the
ftp program.
lcd Change
the directory on your computer (the ‘l’
is for local).
lpwd Shows
the present working directory (pwd) on your
computer (the ‘l’ is for local). Note: this
may not work on all machines. On a Unix
machine, try !pwd if lpwd doesn’t work.
mget Copy
multiple files from the remote computer
to yours.
pwd Shows
the present working directory (pwd) on the
remote computer.
quit Exit
FTP.
How
do I transfer my files?
Transfer
your files exactly as you want them named.
Be sure to transfer all non-text files (i.e.
GIF, JPG, ZIP, etc.) using the binary
or raw data option. Be sure not to
choose the MacBinary option.
HTML
and other text files may be transferred
using the ASCII (text) option or in binary
mode.
Note:
If you try to upload more data than
you have subscribed to, the FTP procedure
will fail. Whenever a transfer fails, pay
close attention to the error messages. Your
FTP utility should display the message.
|