Variant on "wget -m"

2004-11-19 Thread Charles Gagnon
Hello all,

I have been looking high and low and I just want to make sure I am
not missing something obvious before I start writing a script. I
hate to redo something I didn't need to...

I am looking for a small variant on the "wget -m ftp://...";
functionality. I would like to save the differences from day to day
in a different directory. In other words, if I had:

 master/
file1 file2
 mirror/
20041118/
file1 file2

so far. And I add file 3 and 4 on the main site, I would like the
mirror to end up with:

 master/
file1 file2 filer3 file4
 mirror/
20041118/
file1 file2
20041119/
file1 file2

So download what you would have with a normal "wget -m" but store in
this subdirectory.

Any ideas?

-- 
Charles Gagnon   | My views are my views and they
http://unixrealm.com | do not represent those of anybody
charlesg at unixrealm.com| but me.

   I've always thought that underpopulated countries in Africa are
   vastly underpolluted.
-- Lawrence Summers, chief economist of the World Bank, explaining
   why we should export toxic wastes to Third World countries


Re: Windows and > 2 GB downloads

2004-11-19 Thread Daniel Stenberg
On Thu, 18 Nov 2004, Leonid wrote:
  This was tested for Unixes. I am not sure that it will run for M$-Windows, 
but if not, the changes are supposed to be small. Then, please post a 
windows-patch.
I'm not a Windows person, but since I made the large file support for curl I 
can tell you that 'off_t' is 32 bit on Windows systems and thus this does not 
enable large file support for those.

--
 -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
  ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol