Find the answer to your Linux question:
Results 1 to 2 of 2
Hi ALL I'm new. Can someone help me with Linux FTP through a command line interface. I need to know how to send an entire folder to an ftp site ...
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    1

    Linux FTP command line

    Hi ALL

    I'm new.

    Can someone help me with Linux FTP through a command line interface.

    I need to know how to send an entire folder to an ftp site via a linux command interface. I know how to connect to the ftp site, i just need to know the command to upload an entire folder to the FTP site.

    Thanks in advance

  2. #2
    Linux User
    Join Date
    Aug 2005
    Posts
    408
    It depends on the ftp program you're using, but usually (with something like ncftp, for instance) you can use the "put" command recursively, so something like:
    Code:
    put -R folder
    will work

    There are other command-line ftp programs that DO NOT support recursive get and put.

    I found this handy page on ncftp for you if you have other questions:

    http://www.linux.com/article.pl?sid=06/03/08/1716219

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...