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.
re: file not found.Re: re: file not found.Hello again.
This may seem embarassing but it was an absent-minded mistake (lack of sleep) that caused some typo mistake, which in turn caused the excellent jfd to not work. I accidently used different url to test the actual url, and of course, it couldn't find the process.php. Naturally, it worked after I changed it to the correct path. My apology for posting absent minded request. Cheers, JM. |