XFileSharing Free - A bug + New Features? :)

Message
Author
hitec7
Posts: 8
Joined: Aug 09, 2007 12:49 am

A bug + New Features? :)

#1 Postby hitec7 » Sep 07, 2007 1:27 pm

Ok i found a bug in the scipt if the uploader upload file with name like "i hate u.rar" (a filename with spaces)

it all works ok exept when he is clicking the download button he will download a file named "i" instead of "i hate u.rar"

thats has to do with file naming and spaces i dont know cgi and i dont wanna kill the script lol

so are you thinking for some new features in the script? ill realy like to se some :)

1st. Dowload delay 10 secs countdown for example... (configured in config file)
2nd. if possible Vip users with paypal subscriptions who have some more priviliges uploading or download speeds or somthing like that...

just some suggestions for u to consider :)

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Sep 07, 2007 1:37 pm

Bug: yea, sorry about this, it was discovered recently. It looks this happens only in FF browser.
Here goes quick fix: in index.cgi find

Code: Select all

print"Content-Disposition: attachment; filename=$fname\n";
and replace with

Code: Select all

print qq{Content-Disposition: attachment; filename="$fname"\n};
Features: thanks, I had plan to implement delay, not sured about PayPal yet, also maybe will add ADSense easy integration.

hitec7
Posts: 8
Joined: Aug 09, 2007 12:49 am

#3 Postby hitec7 » Sep 07, 2007 5:30 pm

many thanks it was the "" thingies :)

and i forgot a major feature is (url / remote uploads) :) its very good for this script ;)