close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Images uploading with 640 permissions even with chmod applied

Thread began 8/22/2012 4:56 pm by sublucent | Last modified 8/22/2012 6:29 pm by sublucent | 867 views | 2 replies

sublucentBeta Tester

Images uploading with 640 permissions even with chmod applied

Hello,

It seems that permissions are randomly set between 640 and 644 every time I upload an image to a Network Solutions site using File Manipulation. I have read in other posts that Network Solutions said it was the script that was causing the problems, not them.

I've applied the chmod() found in other posts:

php:
<?php
WA_DFP_SetupUploadStatusStruct
("WA_UploadResult1");
if(isset(
$_POST["Insert"]) || isset($_POST["Insert_x"])){
    
chmod(WA_DFP_UploadFiles("WA_UploadResult1""image""0""""JPG:90"$WA_UploadResult1_Params), 0644);
}
?>



Now it seems the first time I upload an image it sets permissions to 640, but if upload the same image a second time the permissions get set to 644.
EDIT: After further testing it still seems a bit random.

Any thoughts on how I can resolve this? Do I need to make any changes to the helperphp.php file?

Thanks in advance

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...