View Single Post
  #1 (permalink)  
Old 24-Jun-2009, 23:33
swerdna's Avatar
swerdna swerdna is online now
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,871
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default SOLVED: wget is hanging on transferring images

Hi
AB has suggestted that I experiment with wget to back up websites remotely. The suggestion is here: SOLVED: How do I connect ftp in one command - Page 2 - openSUSE Forums

I have a test home website with a document root at /home/webname/public_html.
The test site is also an ftp server and is accessible via vsftpd.
I'm using wget to backup the files with a command like this from a remote client:
Code:
wget -r --ftp-user=username --ftp-password=password ftp://testdomain.blah.com
That nicely downloads the entire contents of the document root and subdirectories recursively EXCEPT it always hangs mid way through.
The process seems to just stop. Each time I try it the process stops on the same file. If I delete the file from the server (just to see what happens) and repeat the "wget" command from the client, the process proceeds further than the last time and then hangs on a different file.

Here's an example of the dialogue when it stops:
HTML Code:
100%[===============================================================================================>] 16,912      --.-K/s   in 0.007s

2009-06-25 14:19:20 (2.25 MB/s) - `domain.name.com/webname/public_html/dynamic/snapshot3.png' saved [16912]

--2009-06-25 14:19:20--  ftp://domain.name.com/webname/public_html/dynamic/snapshot4.png
           => `domain.name.com/webname/public_html/dynamic/snapshot4.png'
==> CWD not required.
==> PASV ...
Can you advise what I might be doing wrong?


Thanks
Swerdna
__________________
Drop in and visit some time.
Reply With Quote