close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File Upload php on IIS

Thread began 2/12/2013 4:13 pm by Vikingbear | Last modified 2/13/2013 5:27 pm by Vikingbear | 5423 views | 3 replies |

Vikingbear

File Upload php on IIS

Hi, I have tried all combinations of directories and links to helper.php file.. these are the mesages I am getting! Is this a server setting I have not applied?? ANy sugegstions are greatly appreicated!

PHP Warning: move_uploaded_file(C:\inetpub\wwwroot\2013.downunderdive.com.au\admin\images\top_slider\44b0c289479eea271d16895c0d15024a_tmp.jpg) [<a href='plugins/function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied in C:\inetpub\wwwroot\2013.downunderdive.com.au\WA_DigitalFilePro\HelperPHP.php on line 96

PHP Warning: move_uploaded_file() [<a href='plugins/function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move 'C:\Windows\Temp\phpB5E2.tmp' to 'C:\inetpub\wwwroot\2013.downunderdive.com.au\admin\images\top_slider\44b0c289479eea271d16895c0d15024a_tmp.jpg' in C:\inetpub\wwwroot\2013.downunderdive.com.au\WA_DigitalFilePro\HelperPHP.php on line 96

PHP Warning: copy(C:\inetpub\wwwroot\2013.downunderdive.com.au\admin\images\top_slider\44b0c289479eea271d16895c0d15024a_tmp.jpg) [<a href='plugins/function.copy'>function.copy</a>]: failed to open stream: No such file or directory in C:\inetpub\wwwroot\2013.downunderdive.com.au\WA_DigitalFilePro\HelperPHP.php on line 98

Sign in to reply to this post

Jason ByrnesWebAssist

This error means that the upload folder does not the appropriate write permissions to allow the uploaded file to be saved.

you need to edit the permissions of the upload folder to allow write access,

Sign in to reply to this post

Vikingbear

File Upload

Hi Jason

Thanks for your reply, I will go and check permissions..
I notice the code writes to a 'temp' folder and then moves the file to the final destination folder.. the temp folder sits 'below' the website root, does this one need special permissions as well? and is it safe to give write access to a folder on that level of the server??

Thanks again!

Sign in to reply to this post

Vikingbear

Solution:

Hi Jason

It works fine, thanks again..
We had a bunch of 'users' in the server settings, and the only one we had not given write permissions to the folder was the 'important' one apparently :)

Regards, Ken

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...