File Transfer Protocol (FTP)
File Transfer Protocol (FTP) is a command line protocol used for transferring files to and from remote computers.
The commands used are
Returns the list of FTP commands below
The type of file being transferred defaults to Ascii, if it has been set to binary, typing ascii at the prompt will change it back.
Changes the current file type to binary. The default is Ascii.
Changes directory. Cd <dirname>
Closes the connection to the current site without closing FTP
Deletes a file. Delete <filename>
Transfers a file from the remote location to the local computer. Get <filename> <path>. Path is the location and filename on the local computer where the file will reside.
Used to delete multiple files.
Used to get multiple files
Make a directory. Mkdir <dirname>. Md also works.
Used to put multiple files.
Opens a remote location. Open uploads.webspace.freeserve.net
Places a file in a remote location. Put <path><filename1> <filename2>. Where the path and filename1 are the location and name of the file on local computer and filename2 is the required filename in the remote location.
Exits from FTP
Renames a file. Rename <filename1> <filename2>. You can also use ren.
Remove directory. Rmdir <dirname>. RD also works.