Technical Writing Series: Internet Using a Script to Perform FTP FunctionsBy Shannon Koh |
ftp <ftp server address> -s:<file that contains your script>
So What's in the Script?
Well, you will have to place ftp.exe commands inside.
Here's an example.
Note: ftp.shannonkohfileserver.com
doesn't exists, so don't bother to try to hack into it.
open ftp.shannonkohfileserver.com
shannonkoh
password
put abc.html
bye
What does all these mean? Well, here's the explaination:
open ftp.shannonkohfileserver.com | Opens a connection to the server that you want to connect to. In this case, it's ftp.shannonkohfileserver.com |
shannonkoh | A valid user ID to log into the server. In this case, it's shannonkoh. |
password | A valid password to log into the server. In this case, it's password. |
put abc.html | Upload a file called abc.html. |
bye | Closes a connection to the server. |
Related Articles | |
Using ftp.exe in Windows
95 by Angie Goh |
Article that started it all. Teaches how to use ftp.exe in Windows 95 |
FTP Commands in a Nutshell by Angie Goh |
Provides a summary of all the commands for a simple FTP session |
Other FTP Commands by Angie Goh |
Provides a summary of other useful and helpful commands in ftp.exe |
FTP Glossary by Angie Goh |
Provides a glossary of the terms used in all the ftp.exe related articles |
Copyright 1997 - 2002. Angie Goh c/o Angie's
Life Book. All Rights Reserved.
Material written on this page is original.
Windows, DOS, Unix are copyrighted names of their various authors.
Please email if you wish to link here.
Please do not copy material here without consent.