Recursive backup not working

Chris Wilson <[email protected]> Mon, 13 Jun 2005 00:19:58 +0100 (BST)
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hi Joe and all,

I'm having a problem with Sitecopy not recursing into directories.

I defined a new site (which has lots of files on it already), and I'm 
trying to download its contents using FTP. I know this is not supported, 
but I don't have any other options, and I really want it to work :-) I'll 
learn Python and write the code myself if I have to.

Here is my config (censored a little):

site simply
         server ftp.simply-scandinavian.co.uk
         local /home/chris/project/simply/remote
         remote /
         username blah
         password blah
         protocol ftp

Here's what I ran:

 	chris@gcc(chris)$ sitecopy  -i simply
 	sitecopy: Initializing site `simply' (on
 		ftp.simply-scandinavian.co.uk in /)
 	sitecopy: All the files and directories are marked as NOT updated
 		remotely.

 	chris@gcc(chris)$ sitecopy  -f simply
 	sitecopy: Fetching site `simply' (on ftp.simply-scandinavian.co.uk
 		in /)
 	File: shop-030817.tar.gz - size 14953
 	Directory: backups/
 	Directory: bin/
 	Directory: fileman/
 	Directory: lib/
 	Directory: logs/
 	Directory: shop/
 	Directory: site/
 	Directory: tmp/
 	sitecopy: Fetch completed successfully.

 	chris@gcc(chris)$ sitecopy -d ftp -s simply
 	sitecopy: Synchronizing site `simply' (on
 		ftp.simply-scandinavian.co.uk in /)
 	Opening socket to port 21
 	< 220 (vsFTPd 1.2.1)
 	FTP: Sending 'USER blah':
 	> USER blah
 	< 331 Please specify the password.
 	FTP: Sending PASS command...
 	> PASS ...
 	< 230 Login successful.
 	Creating backups/: done.
 	Creating bin/: done.
 	Creating fileman/: done.
 	Creating lib/: done.
 	Creating logs/: done.
 	Creating shop/: done.
 	Creating site/: done.
 	Creating tmp/: done.
 	Downloading shop-030817.tar.gz: [> TYPE I
 	< 200 Switching to Binary mode.
 	> PASV
 	< 227 Entering Passive Mode (193,115,249,22,110,110)
 	ftp: Parsed PASV response, using port 28270
 	> RETR /shop-030817.tar.gz
 	< 150 Opening BINARY mode data connection for /shop-030817.tar.gz
 		(14953 bytes).
 	...........Closing DTP connection...
 	< 226 File send OK.
 	] done.
 	> QUIT
 	< 221 Goodbye.
 	sitecopy: Synchronize completed successfully.

Oh, really?

 	chris@gcc(chris)$ sitecopy  -s simply
 	sitecopy: Synchronizing site `simply' (on
 		ftp.simply-scandinavian.co.uk in /)
 	sitecopy: Nothing to do - no changes found.

And that's it. One file downloaded total. No subdirectories, none of the 
files they contain.

I'm using sitecopy 0.15.1, my provider is using vsFTPd 1.2.1.

Any ideas?

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |

_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy