JFileDownload

Upload core product.
Post Reply
nehasidana
Posts: 3
Joined: Tue Jan 05, 2010 1:07 pm

JFileDownload

Post by nehasidana »

At Online demonstration of Jfiledownload:

http://www.jfileupload.com/products/dem ... nload.html


It gives me the error Download failed : samplefile200901.jpg not found


the same error i found on my local system when i installed the module. I have checked all the installation instructions. I am using it for downloading files from http and using server side language as PHP .But not be able to find out the solution.

Could you please help me out to resolve the problem. I will be highly thankful to you.

Hope to see the response soon.

Thanks and Regards,
Neha Sidana

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JFileDownload

Post by support »

It's because the file was deleted on our server. I've just uploaded it again. Could you try again ?

For your local system, are you using PHP or JSP ? Are you using you've included explorer.php (or explorer.jsp) in the process.php (or process.jsp) ?

nehasidana
Posts: 3
Joined: Tue Jan 05, 2010 1:07 pm

Re: JFileDownload

Post by nehasidana »

Hi,

Thanks to respond.

I have again tried tt Online demonstration of Jfiledownload:

Its working perfect.

but couldn't be able to resolve problem on my local.
i am using php script and included explorer.php in the process.php .

but the problem is with url parameter in file applet_http_download.js :
if url For instance:
http://yourserver.com/something/process.php

and ItemX
<PARAM NAME="item1" VALUE="file1.zip">

then file1.zip (i.e. item1) will be download from:
http://yourserver.com/something/file1.zip

then how it will redirect to process.php???????????????????????

and if file1.zip (i.e. item1) will be download from:
http://yourserver.com/something/process.php/file1.zip

then its wrong.?????????????????????????????


so in all cases i am getting error
"download failed : file1.zip not found"


Please help me to resolve this error. I shall be very thankful to you.
Hope to see response from you soon.

Thanks and Regards:
Neha Sidana

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JFileDownload

Post by support »

No, the file will be downloaded fom $upload_dir."/file1.zip".
Do you see $upload_dir variable at the top of process.php ?

nehasidana
Posts: 3
Joined: Tue Jan 05, 2010 1:07 pm

Re: JFileDownload

Post by nehasidana »

Thanks aloooooooooooooooooooooot.................

:)


yes its working perfect now.

yes, the file will be downloaded fom $upload_dir."/file1.zip".
earlier i hadn't put the file there. now its working perfect.


Thank you very much to help out.

Thanks & Regards-
Neha Sidana

truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: JFileDownload

Post by truongvu »

can you send me file process.php . I could not found it on sample i downloaded

truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: JFileDownload

Post by truongvu »

can you send me file process.php . I could not found it on sample i downloaded

Post Reply