How do I FTP an entire folder that contains files  to a Centos Unix server?

Posted on 2011-10-26
Medium Priority
Last Modified: 2012-06-21
How do I FTP an entire folder that contains files  to a Centos Unix server?
Question by:wademi
LVL 21

Expert Comment

ID: 37034937
Instead of FTP'ing, use scp which copies the files securely over ssh.

If your source machine is a Unix/Linux server, run scp from there
scp -rp /dir/to/xfer user@centos:/dest/dir

Open in new window

If your source machine is Windows, you can use WinSCP to connect to the CentOS server.
LVL 31

Expert Comment

ID: 37034957
Papertrip gave a very good solution.  It is secure and more convenient than ftp.

For ftp, it would be easier to get a GUI client

For command line, you will need to use mput
LVL 84

Expert Comment

by:Dave Baldwin
ID: 37035045
Any standard FTP client program like CoreFTP http://www.coreftp.com/ or Filezilla http://filezilla-project.org/ will do that.  They both support SFTP also.

Author Comment

ID: 37035061
In this case my FTP server is a windows based server running Gloobscape. I would like to copy some folders from the Globscape folder to my local machine
LVL 21

Accepted Solution

Papertrip earned 2000 total points
ID: 37035172
You can just use WinSCP, it has an explorer-like drag and drop interface.  Put in your CentOS hostname/ip and login credentials then drag the files over to the remote directory.

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question