I can't download any file. When I click the download link, the following message displays.
File not available
Either the file you requested does not exist or you are not permitted to download it using this page.
I am using Microsoft IE
7.0 and firefox browser
Inputs: I upload one file file in an application which is in php script. But iam not able to download the file .
If u provide the example code , it is useful for us
Thanks
vsr
unable to download file from php
Started by vsr, Feb 02 2010 04:00 AM
6 replies to this topic
#1
Posted 02 February 2010 - 04:00 AM
|
|
|
#2
Posted 02 February 2010 - 09:21 AM
What is your current code doing?
#3
Posted 02 February 2010 - 02:53 PM
Quote
What is your current code doing?
and
Have you checked the server to make sure the file is actually being uploaded?
#4
Posted 08 February 2010 - 11:51 PM
when you have access to your server and if you are using ftp, make sure that you have clicked the "write" command on the folders of your uploads to allow uploads.
I think you can also do this using cpanel. i havent tried it out yet but im sure its possible
I think you can also do this using cpanel. i havent tried it out yet but im sure its possible
#5
Guest_Jaan_*
Posted 09 February 2010 - 02:04 AM
Guest_Jaan_*
Please post your code here so we can help you :)
#6
Posted 09 February 2010 - 02:27 AM
yes please do post the code as well
it might be something to do with the code for uploading
like move_uploaded_file($_FILE['file_name']['tmp_name'], <destination file>)
it might be something to do with the code for uploading
like move_uploaded_file($_FILE['file_name']['tmp_name'], <destination file>)
#7
Guest_Jaan_*
Posted 09 February 2010 - 03:00 AM
Guest_Jaan_*
You can also use PHP: copy - Manual instead of move_uploaded_file


Sign In
Create Account

Back to top









