Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2004

    ncftp directory transfer

    Hello Everyone,

    Can anyone please tell me how to transfer the whole directory from remote host to local host thru ncftp or a usual ftp software ?
    Best Regards,

  2. #2
    Join Date
    May 2003
    Massachusetts, USA
    Are you thinking of mget and mput?
    Mark Oberg

    (No longer affiliated with

  3. #3
    Join Date
    Feb 2004
    please try this in ncftp.

    Copies files from the current working directory on the remote host to your machine's current working directory. To place a copy of ``README'' and ``README.too'' in your local directory, you could try:

    get README README.too

    You could also accomplish that by using a wildcard expression, such as:

    get README*

    This command is similar to the behavior of other FTP programs' mget command. To retrieve a remote file but give it a different name on your host, you can use the ``-z'' flag. This example shows how to download a file called ReadMe.txt but name it locally as README:

    get -z ReadMe.txt README

    The program tries to ``resume'' downloads by default. This means that if the remote FTP server lost the connection and was only able to send 490 kilobytes of a 500 kilobyte file, you could reconnect to the FTP server and do another get on the same file name and it would get the last 10 kilobytes, instead of retrieving the entire file again. There are some occasions where you may not want that behavior. To turn it off you can use the ``-f'' flag.

    There are also times where you want to append to an existing file. You can do this by using the ``-A'' flag, for example

    get -A log.11

    would append to a file named ``log.11'' if it existed locally.

    Another thing you can do is delete a remote file after you download it. This can be useful when a remote host expects a file to be removed when it has been retrieved. Use the double-D flag, such as ``get -DD'' to do this.

    The get command lets you retrieve entire directory trees, too. Although it may not work with some remote systems, you can try ``get -R'' with a directory to download the directory and its contents.

    Bright Info Solutions

  4. #4
    Join Date
    Feb 2005
    Or you could just do mput/mget * and put/get all the files in the directory. man ncftp is your friend.

  5. #5
    Join Date
    Dec 2004

Posting Permissions

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