Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2008
    Location
    Isle of Man
    Posts
    31

    Automation of download from a URL

    I need to download a file weekly from a fixed location; www.website.com/shows/

    Does anyone know of a programme which will do this please - I have one that schedules downloads weekly via ftp - but can't find a way of automating it via http.

    Many thanks..
    http://www.1mix.co.uk Its all about the music..

  2. #2
    If you're under Linux, setup a cron job that's using wget to download the page.
    SitesTen LLC Web Hosting Services
    Full range of fast and reliable web hosting services and personalized, quality support
    Dedicated Servers - Virtual Private Servers - Shared/Reseller Web Hosting - Managed Services

  3. #3
    Join Date
    Oct 2012
    Location
    Europe and USA
    Posts
    991
    Which operating system?

    If on Linux or Mac, you can just use curl

    Code:
    curl -O http://www.website.com/shows/
    and setup a cron job which runs weekly this command

    Code:
    /usr/bin/curl -O http://www.website.com/shows/
    On Windows, you can use a download manager, like GetRight or you can install curl using Cygwin and then use the same command as for Linux.
    NetworkPanda :: Web Hosting SSD Powered :: Reseller Hosting
    Instant activation, fast servers, NVMe SSD disks, cPanel, Softaculous 1-click apps installer, daily backups
    Multiple hosting locations: USA, Canada, France, UK, Germany, Italy, Spain, Poland, Finland

  4. #4
    Join Date
    Apr 2008
    Location
    Isle of Man
    Posts
    31
    Many thanks for the replies..

    I'm using Windows Server 2003 standard, and I checked GetRight which if I understand it correctly is just a download manager, and doesn't have the features I need.

    I need to schedule the programme to visit a url at a fixed time and download a file to a local folder, which varies according to the url..
    http://www.1mix.co.uk Its all about the music..

  5. #5
    If win2003 has PowerShell, then try this: superuser.com/questions/362152/native-alternative-to-wget-in-windows-powershell

    For cron jobs, Windows has Task Scheduler instead.

  6. #6
    Join Date
    Apr 2008
    Location
    Isle of Man
    Posts
    31
    I think I would need some help getting that working I'm afraid, but reading the thread I don't think it would work in any case because the name of the file changes every week.

    I need something which will download whatever file is at that url - something like http://www.website.com/shows/*.mp3
    http://www.1mix.co.uk Its all about the music..

Similar Threads

  1. Wordpress - Can't view or download a file even with correct url?
    By Kesava in forum Web Design and Content
    Replies: 6
    Last Post: 06-14-2012, 08:17 AM
  2. Automation URL redirect soloution
    By PersianGulf in forum Web Hosting
    Replies: 6
    Last Post: 04-20-2010, 02:03 PM
  3. Dynamic URL for Download in ASP
    By Shahab in forum Programming Discussion
    Replies: 17
    Last Post: 06-24-2006, 09:47 AM
  4. Download manager script that can hide true url
    By Kuroro Luc in forum Web Hosting Lounge
    Replies: 5
    Last Post: 04-24-2004, 07:13 PM
  5. Hiding Download URL's with PHP/MySQL: How?
    By JonathanVH in forum Programming Discussion
    Replies: 14
    Last Post: 09-30-2002, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •