Thursday, December 17, 2009

FTP commands

As servers usually run on UNIX platforms (as they are better adapted to working on a network), FTP commands are typically UNIX commands.

The standard commands are:


change directory, which is used for changing the current directory. The command "cd .." is used to access the parent directory
The command mkdir (in UNIX, or md in Microsoft) is used for creating a directory within the current directory. The use of this command is reserved for users with access allowing it.
The command rmdir (in UNIX, or rmd in Microsoft) is used for deleting a directory within the current directory. The use of this command is reserved for users with access allowing it.
If the command is followed by a file name, the remote file will be transferred to the local machine, into the current local directory
If the command is followed by two file names, the remote file (the first name) is transferred to the local machine in the current local directory, with the specified file name (the second name)
If the file name contains spaces, be sure to enter it within quote marks.
If the command is followed by a file name, the local file will be transferred to the remote machine, into the current remote directory
If the command is followed by two file names, the local file (the first name) is transferred to the remote machine in the current remote directory, with the specified file name (the second name)
If the file name contains spaces, be sure to enter it within quote marks.

No comments:

Post a Comment