File Transfer Protocol is applied to duplicate files among a home PC with a remote PC. Many OS’s include a command line FTP client setup defaultly. There is no FTP command to copy a entire directory. In place of that, generate the directory on the device where to copy the files and after that make use of the "mget" or else "mput" commands to copy the files in the directory.
Transfer a Directory to a Local Computer
Open a terminal window or command prompt. And enter following commands.
• Enter the command "mkdir directory_name." Restore "directory_name" with the name of the directory to copy.
• Enter the command "cd directory_name" to move into the recently made directory.
• Enter the command "ftp login@IPaddress" to FTP to the remote computer. Restore "login@IPaddress" with credentials for the remote PC.
• Enter the command "cd directory_name." Replace "directory_name" with the name of the directory to copy.
• Enter the command "mget *" to transfer the files from the remote directory to the local directory.
• Enter "quit" and end the session.
Transfer a Directory to a Remote Computer
• Open a terminal window or command prompt. Enter the following commands.
• Enter the command "cd directory_name" to move into the directory to be copied on the local PC. Restore "directory_name" with the name of the directory to be copied.
• Enter the command "ftp login@IPaddress" to ftp to the remote PC. Restore "login@IPaddress" with credentials for the remote PC.
• Enter the command "mkdir directory_name." Restore "directory_name" with the name of the directory to copy.
• Enter the command "cd directory_name" to move into the recently made directory.
• Enter the command "mput *" to transfer the files from the local directory to the remote directory.
• Enter "quit" to complete the session.



Reply With Quote
Bookmarks