FTP Commands - Most Commonly Used FTP Comands For Linux Windows
- Forums
- Tutorial And Guides
- FTP Commands - Most Commonly Used FTP Comands For Linux Windows
This Page Contains information about FTP Commands - Most Commonly Used FTP Comands For Linux Windows By webmaster in category Tutorial And Guides with 2 Replies. [1407], Last Updated: Sat May 18, 2024
webmaster
Fri Sep 01, 2006
2 Comments
8519 Visits
The following comands are the most widely used commands you can use for your FTP
! Preceding a command with the exclamation point will cause the command to execute on the local system instead of the remote system.
? Request assistance or information about the FTP commands. This command does not require a connection to a remote system.
ascii Set the file transfer mode to ASCII (Note: this is the default and transmits seven bits per byte).
bell Turns bell mode on / off. This command does not require a connection to a remote system.
binary Set the file transfer mode to binary (Note: the binary mode transfers all eight bits per byte and must be used to transfer non-ASCII files).
bye Exit the FTP environment (same as quit). This command does not require a connection to a remote system.
cd Change directory on the remote system.
close Terminate a session with another system.
debug Sets debugging on/off. This command does not require a connection to a remote system.
delete Delete (remove) a file in the current remote directory (same as rm in UNIX).
dir Lists the contents of the remote directory.The asterisk (*) and the question mark (?) may be used as wild cards. For example:
dir b* This will display all entries that start with the letter "b". For example, the following will be displayed. bet, ben, bingo, born, boon, bipartisan, bandit, boy
dir b*n* This will display all entries that start with the letter "b" and have the letter "n" somewhere after the letter "b". For example, the following will be displayed. ben, bingo, born, boon, bipartisan, bandit
The following will not be displayed. bet, boy
dir b?n This will display all entries that start with the letter "b", have the letter "n" in the 3rd position and have a three character name. For example, the following will be displayed. ben The following will not be displayed. bet, bingo, born, boon, bipartisan, bandit, boy
dir b?n* This will display all entries that start with the letter "b" and have the letter "n" in the 3rd position. For example, the following will be displayed. ben, bingo, bandit The following will not be displayed.
bet, born, boon, bipartisan, boy
get Copy a file from the remote system to the local system.
get filename-1 Copy (or replace) filename-1 from the current remote directory to a file with the same name in the current local directory.
get filename-1 filename-2 Copy (or replace) filename-1 from the current remote directory to filename-2 in the current local directory.
help Request a list of all available FTP commands. This command does not require a connection to a remote system.
lcd Change directory on your local system (same as CD in UNIX).
ls List the names of the files in the current remote directory.
mget Copy multiple files from the remote system to the local system. (Note: You will be prompted for a "y/n" response before copying each file).
mget * Copies all the files in the current remote directory to the current local directory, using the same filenames. Note the use of the asterisk (*) as a wild card character.
mkdir Make a new directory within the current remote directory.
mput Copy multiple files from the local system to the remote system. (Note: You will be prompted for a "y/n" response before copying each file).
open Open a connection with another system.
put Copy a file from the local system to the remote system.
pwd Find out the pathname of the current directory on the remote system.
quit Exit the FTP environment (same as "bye"). This command does not require a connection to a remote system.
rmdir Remove (delete) a directory in the current remote directory.
trace Toggles packet tracing. This command does not require a connection to a remote system.[/b]
https://www.wallpaperama.com/forums/ftp-commands-most-commonly-used-ftp-comands-for-linux-windows-t345.html