close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Prevent invalid upload of File Names

Thread began 8/29/2009 3:25 am by neil186287 | Last modified 9/05/2009 10:09 am by meister281653 | 2846 views | 6 replies |

neil186287

Prevent invalid upload of File Names

I've been using a lovely little free program up until now (Silentum Uploader), but it doesn't integrate with MySql Database, - so I bought DFPro to add that functionality.

My problem is that I can't find the setting to make DFPro prevent the uploading of files with finames which contain invalid characters (apostrophes etc - i.e. 'neil's.jpg') - (Silentum Uploader does this rather neatly).

Must have this functionality - as filenames with invalid/illegal characters can't be removed from the remote server unless I contact the hosting provider and ask them to do it!

How do I do this please?

Sign in to reply to this post

neil186287

I also want users to be able to upload files, and then for other users to be able to select from the uploaded files what they need to download - (as the freebie Silentum Uploader does!) When a file is uploaded, the uploaded file name/link is not displayed. How does someone select a file to download?

Is this possible just with DFPro? How?

Sign in to reply to this post

neil186287

Don't worry, Have emailed WebAssist (sales@webassist.com) for a refund for both this & Digital File Pro.

Happy with your other UI though.

Sign in to reply to this post

Jason ByrnesWebAssist

You would have to use Server Validations included in Form Builder to validate the name of the file being uploaded.

You would also need to use DataAssist to store the uploaded file name into a database. With the file name stored in the database, you an create a recordset to show a list of files that can be downloaded.

Sign in to reply to this post

neil186287

Thanks for the info.

Sign in to reply to this post

office377308

DMX zone

they have an extension called "pure php upload". There you can just type in the Extension you want to allow (not those you want to prevent, though). I found "pure php upload" more useful under certain circumstances than DFP from webassist. For example it adds undescores in filenames if people use this in filenames. Some Linux servers have problems with it.

Sign in to reply to this post

meister281653

Easiest way is to use RANDOM Password extension, or write a little function and put it around the filename.

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