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

Posted on 2011-10-26
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

    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

    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 82

    Expert Comment

    by:Dave Baldwin
    Any standard FTP client program like CoreFTP or Filezilla will do that.  They both support SFTP also.

    Author Comment

    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

    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

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now