hosted by liquidweb


Go Back   Web Hosting Talk : Advertising Forums : Software & Scripts Offers & Requests : Software & Scripts Requests : Looking for someone to do simple script modification
Reply

Software & Scripts Requests This forum is intended for requesting softwares and scripts that are legally transferable. Please read the Announcement within before posting. You need 10 (relevant, non-advertising, non-fluff) posts in other forums and 7 days of membership before starting a thread in this forum.
Forum Jump

Looking for someone to do simple script modification

Reply Post New Thread In Software & Scripts Requests Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2007, 04:25 AM
echangnet echangnet is offline
New Member
 
Join Date: Dec 2004
Posts: 1

Looking for someone to do simple script modification


Hello,

I am looking for someone to do a simple modification for my download script. Currently, I am using Lighttpd to serve downloads, and use the lines:

header('Accept-Ranges: bytes');
header('Content-Length: $size');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $file_name . '"');
header('X-LIGHTTPD-send-file: ' . $file_path);

This script downloads files fine, but I am unable to enable download resuming. I was wondering if someone could find a way to implement range headers with the Lighttpd send-file function. I am willing to pay a decent amount in order to get this done properly.

Thanks!

Reply With Quote
Sponsored Links
  #2  
Old 04-05-2007, 07:23 AM
linux1213 linux1213 is offline
Disabled
 
Join Date: Dec 2006
Posts: 119
I dont quite understand what you want doing, can you explain more?

Reply With Quote
  #3  
Old 04-05-2007, 08:31 AM
tanfwc tanfwc is offline
Web Hosting Master
 
Join Date: Apr 2004
Location: Singapore
Posts: 1,459
I don't think you can resume download during http protocol

__________________
tanfwc

Reply With Quote
Sponsored Links
  #4  
Old 04-05-2007, 09:15 AM
echangnet echangnet is offline
New Member
 
Join Date: Dec 2004
Posts: 1
I am trying to enable file download resuming on my site, using the existing download method I am using right now. The reason being, I know that buffering the file takes alot of resources, and my existing download method is more conservative (I think).

Reply With Quote
  #5  
Old 04-05-2007, 10:59 AM
echangnet echangnet is offline
New Member
 
Join Date: Dec 2004
Posts: 1
Yes, what I am looking for is http protocol download resuming - is this possible?

Reply With Quote
  #6  
Old 04-05-2007, 02:43 PM
mistwang mistwang is offline
Web Hosting Guru
 
Join Date: Nov 2003
Posts: 294
HTTP/1.1 support download resuming. If the file was served by the web server directly, resuming should work properly. I think it is just that "X-LIGHTTPD-send-file" does not support resuming, fix is not possible in your own php script.

__________________
LiteSpeed Web Server by http://www.litespeedtech.com
Best PHP and Ruby On Rails hosting platform,
Completely Apache interchangeable
Compatible with all hosting control panels.

Reply With Quote
  #7  
Old 04-06-2007, 09:09 AM
echangnet echangnet is offline
New Member
 
Join Date: Dec 2004
Posts: 1
I see.. thanks for your response. Is there a script that allows you to figure out when a file has completely finished downloading? I wish to perform a database update ONLY once a file has been completely finished downloading.

Reply With Quote
  #8  
Old 04-07-2007, 01:52 AM
echangnet echangnet is offline
New Member
 
Join Date: Dec 2004
Posts: 1
I was wondering if a script that includes (doesn't have to be like my current script) is possible:

- implementation of mod_secdownload, temporary download link (or downloadsystem like SendSpace.com)
- ability to track how much (file size) a user has downloaded
- ability to execute databse query only once a file has been COMPLETELY finished downloading
- limit user to 1 parallel download (one download at a time)

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2013-03-27 18:49:54
Whistleblower Site Cryptome Hacked, Infects PCs with Drive-By Exploits Web Hosting News 2012-02-14 14:48:24
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Web Host JaguarPC Adds Auto-Installer Softaculous to Hosting Plans Web Hosting News 2011-07-27 18:55:46


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?