Current location: Hot Scripts Forums » General Community » Script Requests » Auto Downloader script.


Auto Downloader script.

Reply
  #1 (permalink)  
Old 11-15-09, 10:06 PM
Mr_Tito Mr_Tito is offline
New Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Auto Downloader script.

I use a service called Home and I'm looking for a script that will download a few things based off my Apache log. I say based on my log because the service typically requests a lot of things and manually downloading the requests is a bit tedious and tiresome. A typical line from my log looks something like this:

192.168.xx.xx - - [15/Nov/2009:21:50:14 -0500] "GET /c.home/prod/live/Objects/AE90FBA4-534F4BD1-A030DB15-F849F709/object_T032.odc HTTP/1.1" 404 274

This is but just one of among thousands there are for the service. So basically, what I am looking for is a script that will append the beginning URL to the rest of the url /c.home/... via the Web and then create a directory based on the ID (ie. AE90FBA4-534F4BD1-A030DB15-F849F709) and then download the file that is returning the not found error "404" in to the newly created directory in the htdocs folder. If the directory exists but the file is missing, it will not create a new directory but just download the file and place it in the existing directory.

I am new to this and I am leading to believe that to obtain such results, it will require me to modify Apache's settings and/or create a separate program that will run on the sidelines with Apache. If no script or anything like that exists and if it's too complicated, then no biggy.

So basically, I am trying to run the service off of my PC. I know, not worth the trouble but it has been a project of mine for awhile now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks

Tags
apache, auto, downloader, log


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL need 10 records only! Winmon Database 1 04-02-09 08:26 PM
Auto photo and movie update script Digidotz Script Requests 3 11-11-05 06:51 PM
need someone to write script to: 'Auto install' a website generator slawes Job Offers & Assistance 3 04-24-04 08:47 PM
req'd 'Auto install script' for a website generator slawes Script Requests 0 04-23-04 04:02 PM


All times are GMT -5. The time now is 01:31 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.