. We can also use FTP commands in Windows Command Prompt to transfer files.
. Connecting to FTP: Click Start > Run > Cmd.
. Connecting to FTP: Click Start > Run > Cmd.
. Type ftp and press enter.
. Now you will be entered into ftp.
. Opening FTP connection: Type open followed by ip address of the FTP server.
. Enter User name and password to login into the server.
Transferring files from server to your computer:
. To view the files in the server, type dir and press enter. It shows all the files which are shared to you.
. To view files in the folder, type cd followed by foder name and press enter.
. Now move to location to receive the files in your computer.
. Type lcd followed by location to receive files.
. To receive files you can use 2 commands:
get - To receive a single file.
mget - To receive multiple files.
. Using get: Type get followed by filename.
. You can view this file in your computer.
. Using mget: Type mget followed by filenames.
. You can use (*) to make a matching to same filenames so that all of them are selected.
. It asks you whether to transfer file with the name mentioned on by one.
. Type y to send or else n to deny.
. All the files can be viewed in the computer.
Transferring files from your computer to server:
. Create a new directory in server to send your files.
. Move to location from where you want to send files to server.
. Type lcd followed by folder name.
. To send files you can use 2 commands:
put - To send a single file.
mput - To send multiple files.
. Using put: Type put followed by filename.
. Using mput: Type mput followed by filenames.
. You can use (*) to make a matching to same filenames so that all of them are selected.
. It asks you whether to transfer file with the name mentioned on by one.
. Type y to send or else n to deny.
. View the fies sent by typing dir.Renaming file:
. Type rename followed by original file name and then new file name.