re: file not found.
Posted: Tue Jun 29, 2010 4:53 pm
Hello sir!
I was testing out Jfiledownload - using applet_http_download.js, process.php and explorer.php. I was trying to download the file testpic.jpg, but it always said file not found. I've included explorer.php within process.php.
I have played with the value6's values, with different folders and paths, but to no avail.
Here are the settings:
* upload folder: abc.com/members/files/upload
* testpic.jpg location: abc.com/members/files/upload/done/testpic.jpg
* applet_http_download.js,process.php & explorer.php location: abc.com/members/files
apple_http_download.js settings:
---------------------------------------
document.write('url="http://abc.com/members/files/process.php" ');
document.write('item1="testpic.jpg" ');
document.write('param2="relativefilename" ');
document.write('value2="true" ');
document.write ('param6="account" ');
document.write ('value6="done" ');
process.php settings:
-------------------------
$upload_dir = "upload";
Any help/tips would be appreciated.
Thanks.
Cheers,
JM.
I was testing out Jfiledownload - using applet_http_download.js, process.php and explorer.php. I was trying to download the file testpic.jpg, but it always said file not found. I've included explorer.php within process.php.
I have played with the value6's values, with different folders and paths, but to no avail.
Here are the settings:
* upload folder: abc.com/members/files/upload
* testpic.jpg location: abc.com/members/files/upload/done/testpic.jpg
* applet_http_download.js,process.php & explorer.php location: abc.com/members/files
apple_http_download.js settings:
---------------------------------------
document.write('url="http://abc.com/members/files/process.php" ');
document.write('item1="testpic.jpg" ');
document.write('param2="relativefilename" ');
document.write('value2="true" ');
document.write ('param6="account" ');
document.write ('value6="done" ');
process.php settings:
-------------------------
$upload_dir = "upload";
Any help/tips would be appreciated.
Thanks.
Cheers,
JM.