Guide To DOS FTP (File Transfer Protocol) , By : Commandox2
-------------------------------------------------------------------------------------------------------------------------------------------------------------- Ok first off i'm not too good at spelling so bare with me if you can't read it just make up a word and put it there... -------------------------------------------------------------------------------------------------------------------------------------------------------------- In this guide you will learn 1. How-To Use DOS FTP (File Transfer Protocol) 2. How-To Use DOS FTP (File Transfer Protocol) - Examples -------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. How-To Use DOS FTP (File Transfer Protocol) The Commands - Command Meaning Example ----------------------------------------------------------------------------------------------------------------------------------------------- cd "directory" change directory cd httpdocs pwd Print the current directory on the server pwd pass "password" change password pwd newpassword disconnect disconnects from server disconnect help shows help file help help "commandname" gives help on command help cd status shows status status put "filename" uploads file put here.txt mput "filetype" uploads all of file type mput *.txt delete "filename" deletes file delete here.txt mdelete "*.ext" deletes files with the extension mdelete *.exe ftp "server" connects to server ftp netfirms.com get "filename" downloads file get picture.bmp mget "*.ext" downloads files with the extension mget *.jpg mkdir "directory name" makes directory mkdir new_pictures rmd "directory name" removes directory rmd Junk list list the contents of the directory list abort abort the file transfer abort cdup goes up a directory cdup ----------------------------------------------------------------------------------------------------------------------------------------------- 2. How-To Use DOS FTP (File Transfer Protocol) - Examples Here would be an example of how-to connect to a FTP (File Transfer Protocol) server: ftp yourserver.com user YourUserName pass YourPassword cd mypicturesfolder get mypicture.jpg disconnect ----- Here would be an example to access most of the apache web servers to update your webpage: ftp yourserver.com user YourUserName pass YourPassword cd YourWebpagesFolder cd httpdocs mkdir MyPages cd MyPages put C:\Webpages\MyWebpage\HTMLPAGES\index.html put C:\Webpages\MyWebpage\HTMLPAGES\contacts.html put C:\Webpages\MyWebpage\HTMLPAGES\\members.html put C:\Webpages\MyWebpage\HTMLPAGES\orderinginfo.html mkdir FlashButtons mput C:\WEBPAGES\MyWebpage\FLASHBUTTONS\*.swf mkdir PICTURES mput C:\WEBPAGES\MyWebpage\PICTURES\*.bmp disconnect ----------------------------------------------------------------------------------------------------------------------------------------------- Well thats it for this DOS FTP (File Transfer Protocol) tutorial it has all the commands you will need to do all the normal things on a ftp server. -------------------------------------------------------------------------------------------------------------------------------------------------------------- |