How to get files and folders from a remote server using FTP?

Let's make a quick start by looking at the various commands to get files and folders from a remote server. Huh 

Method 1:
wget -m -nH --user='username' --password='user_password' ftp: //IP address/

Method 2:
1. ftp
2. open ftp: //ftp.domain_name.com 
3. enter username and password
4. ls -la 
5. get filename or mget *     ( Note: This works only with files and not folders)

Method 3:
wget --user=username --password='user_password' ftp: //url/path/file.name

Method 4: 
wget -r --user=username --password='user_password' ftp: //ftp.domain_name.com/*
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to backup and restore large MySQL databases using mysqldump?

1. Backup database: #mysqldump -u username -p[username_password] databasename >...

Disk Usage Useful Command

Note - You can replace /home with correct '/' drive on your server. 1. Checking the disk usage -...

How to update kernel on centos server?

Please follow below steps to update the kernel on centos server - 1. SSH of centos server and...

How to install SOAP on CentOS?

Install SOAP on CentOS 1) Fire below command - yum install php-soap Output will be as follow...

How to install latest version of git on CentOS release 6.8 (Final)?

Install latest version of git on CentOS release 6.8 - Step 1. Install Dependencies - yum install...

Powered by WHMCompleteSolution