- Go online. (That is, connect to your internet provider, so that you have two
shrunk blinking computers in your task bar. To remind you, this costs money.)
- Close all windows. You won't need them.
- Find out the local directory where your files to upload are in. (Local means,
its at the same place than you.) Maybe
F:\home\larry\private\html\
- Now, go Start_Execute. Type "ftp" in the upcoming window.
- There comes up a nasty black window that says "ftp>".
- Try typing "?" to get a list of commands:
ftp> ?
Commands may be abbreviated. Commands are:
! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp>
Of course, you type "help", get the same screen again, and dump this bastard.
- What you don't know is, these are orders that come with parameters, where
parameters are separated by spaces. If you try
help quit
the system tells you what it would do if you typed "quit".
ftp> help quit
quit terminate ftp session and exit
You may think now: Boa, this is easy: Type a programs name, hand over some
parameters, and the computer does the rest for me.
This is exactly because Micro$oft does not want you to do those things. They want
you to stay a stupid mouse-user with aching neck and right shoulder.
But remember that we are here to upload your files.
- Well, it's not on the screen, but on every internet computer system (which all
run under un*x, for compatibility, durability, reliability and stability) you must
login with your user name. (This is to protect you from the other users, and to know
who you are. Of course it is a very good concept. The concepts for interaction between
users in the un*x world are even better.)
There is no command "login" on the screen. Try
open ftp.yourhomepageprovider.com
If you did not mistype the adress, there will come up a login screen, asking for
your username, and afterwards for your password.
Then maybe the remote system says
"Hello, my name is YOURHOMEPAGEPROVIDER.
You have the following files in your account:
blah1 blah2
#"
Seems we're logged in.
- Meanwhile you're a little more used to these big machines, that just sit around
waiting for work. So you give them work: you try to move into your home directory
on this remote machine.
DON'T! You need not. You already are.
- Other work, well. How about copying some files into your home directory on the
remote system?
COPY doesn't exist. CP doesn't, too. Try PUT.
-
put *.htm
doesn't work, because your local system does not know in which tree of its own
file tree you are. Try better
put c:\home\larry\private\html\*.htm
and it should work.
Boringly, you have to confirm each file transfer (in and out) by typing Y or N.
You can avoid this by typing
prompt
A message will appear telling you that prompts are cut off now.
Another
prompt
will activate prompting again, and so on.
- You can't see the process.
If you type HASH first, a hash ("#") will appear for every 2048 kBytes sent.
You should close your system after 2 min, when nothing happens.
- When you're finished luckily, you'll se the remote system, YOURHOMEPAGEPROVIDER,
saying
Your files have all been uploaded successfully.
or something the like.
- If you want to test this, do
ls
Or ls *.htm
- To logout from the remote system, use
QUIT
- Do not forget to close the connection to your homepage provider, you know: it
costs money. Double-click the two shrunk blinking computers in the edge of the screen,
and say: DISCONNECT.