wget -c won't work.

It will only work if the file being downloaded only gets appended to.
But if the g.
file changes in the middle, you have to re-download everything. It
would be better to use amanda or something similar which is
delta-aware.

or, use wget to do a HEAD, and if the file has changed, download
everything again.


On 6/15/07, Kenneth P. Oncinian <[EMAIL PROTECTED]> wrote:
> hi,
>
> afaik, wget does not have this feature, correct me if im wrong.
> You can try to call wget using the --spider parameter, get all the
> filenames, and script your way to finally get the exact filename that
> you want to download.
>
>
> hth,
> Kenneth
>
>
>
> On Fri, 2007-06-15 at 16:11 +0800, Ramil Galib wrote:
> > Hi guys!
> >
> > I want to download a file which changes over time (due to upgrades) on
> > the command line.
> > I use
> >     wget -A 'program-<whatever new version here>.tar.gz'
> > http://program-location.com/repository/
> > When there is a new version, I intend to use
> >     wget -A 'program-*.tar.gz'
> > http://program-location.com/repository/
> > But I was not successful.
> > Any help?
> >
> > Thank you very much.
> >
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph)
> > Read the Guidelines: http://linux.org.ph/lists
> > Searchable Archives: http://archives.free.net.ph
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>


-- 
Orlando Andico
Sales Consulting - Emerging Technologies ASEAN
Oracle (Philippines) Corporation

The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to