Here are some examples to get/put files on a remote machine from local machine via FTP (File Transfer protocol)
Steps to get the files from remote to local machine
- Open commandprompt from AllPrograms in the computer
- Change directory to which you want to put the files on local machine, using cd command (say cd C:\)
- Now connect to remote machine using ftp command (ftp "hostname"), enter username and password.
- Navigate to the folder from which you want to get the files from remote machine using cd command Ex: cd /Users
- Say mget* and say y when prompted - This will get all the files to local machine (C:\).
Steps to put the files from local to remote machine
- Open commandprompt from AllPrograms in the computer
- Change directory to which you want to put the files from local machine, using cd command (say cd C:\)
- Now connect to remote machine using ftp command (ftp "hostname"), enter username and password.
- Navigate to the folder to which you want to put the files on remote machine using cd command Ex: cd /Users
- Say mput* and say y when prompted - This will get all the files to local machine(C:\).
- Say mput m* and this will put all the files starting with 'm'.
No comments:
Post a Comment