[ILUG] wput, anyone ?
niall at magicgoeshere.com
Thu Apr 20 14:24:12 IST 2000
Can you guess the question ?
I have a need to upload a large amount of data to a server overnight over my
modem connection. I'm a Surf No Limits person and my connection is prone to
dropping for no good reason (that I'm aware of) and from the list I know I'm
not alone. I get around this for downloads by using wget and wvdial with
auto-redial on. How do I do the reverse ? wvdial will still work as desired,
but what can I use to resume an upload ? I could use wget from the server,
but of course when the connection drops, there's very little chance that
it'll have the same IP address when it comes back up. I do have one
theoretical solution which is to run something on my home box which modifies
the hosts file on the server with my current IP address e.g.
and then use
but I've a horrible suspicion that wget won't try to resolve the hostname
again after it loses its connection. I'm thinking about a script wwhich
wget -c -t 1 -T 30 niall.at.home:/file/that/I/want
until the checksum of the retrieved file is correct, but this is all
starting to get out of hand :-) Is there an easy solution ? Do you know
next Saturday's lotto numbers ?
More information about the ILUG