Continuing file download ftp

Tagged:  

Recently I need to move a server which have 450G of files. I set up ftp agent at new server and mget started to download files. But after checking I noticed that many of files copied but 150G of them is not.

I can't trust mget command since ftp program is very old. Instead I search for other solutions.

The I like NcFtp agents since it supports recursive copying over ftp. Note distributions dont generally include ncftp, you need distro specific executables.

ncftpget -d stdout -u myuser -p mypass -R 69.64.77.136 . /video/converted

this command
-d stout verboses to standart output,
-u -p connects using myuser and his/her mypass
-R with recursively since I want all contents of directory
from 69.64.77.136 host
. to current directory, creates converted directory and all files of remote server goes under it.
/video/converted from remote directory, because we use -R all files below

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
                      .d888      d8888    .d8888b.            
d88P" d8P888 d88P Y88b
888 d8P 888 888
888 888 888 888 888888 d8P 888 .d88P 88888b.
888 888 888 888 888 d88 888 .od888P" 888 "88b
888 888 888 888 888 8888888888 d88P" 888 888
Y88b 888 Y88b 888 888 888 888" 888 d88P
"Y88888 "Y88888 888 888 888888888 88888P"
888 888
Y8b d88P 888
"Y88P" 888
Enter the code depicted in ASCII art style.

Similar

  • New technique to win olimpics -

    New technique to win olimpics

    At the 1968 Olympics, Dick Fosbury took the athletics world by surprise with an unusual high-jump technique.

  • Printing mysql_error -

    Printing mysql_error

    This is a code snipped to print mysql error.
    If there is no error mysql_error returns null, thus if evaluates false and there is no output.

  • multiple ON DUPLICATE KEY UPDATE -

    multiple ON DUPLICATE KEY UPDATE

    Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.

  • multiple ON DUPLICATE KEY UPDATE -

    multiple ON DUPLICATE KEY UPDATE

    Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.

  • php unlink recursive -

    php unlink recursive

    The shortest recursive delete possible.

    <?php
    /**
    * Delete a file or recursively delete a directory
    *
    * @param string $str Path to file or directory
    */