close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

problem and findings with upload folder name.

Thread began 7/20/2018 7:40 am by tony | Last modified 7/23/2018 10:06 am by Ray Borduin | 728 views | 3 replies |

tony

problem and findings with upload folder name.

Hello all,
I created a dataassist set of pages.
The insert page contains a file field that will upload a file in a specific folder.
I spent a few hours trying to upload to a folder named DOCS.
So I tried another folder: FILES. No luck. File are not uploaded. nor inserted in the db.

Then I specified another folder named DOC and it works.
Perhaps DOCS and FILES are reserved words?
HTH someone else.
Tony

Sign in to reply to this post

Jamie

Hey Tony

Have you checked that the <form> element includes enctype="multipart/form-data"? Along the lines of the below:

<form enctype="multipart/form-data" class="" id="" name="" method="post" action="">
Sign in to reply to this post

Ray BorduinWebAssist

If they were existing folders they may have had permissions set already that wouldn't allow file upload. If the folder is created by the script it would attempt to set the correct permissions. It is not the folder name that is the issue... probably the folder permissions settings.

Sign in to reply to this post
Did this help? Tips are appreciated...

tony

Thanks to all,
perhaps it it's a folder permission problem.
I'll try to delete the upload folder and let the page create the new one.

@jamie: thanks for your suggestion. In fact, I've had lots of problems when there was no " enctype="multipart/form-data" in my form. But Ray already suggested to add this and now I add this code manually in every new form, expecially when there are file fields involved.

Ciao! ;)
tony

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