View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Drag 'n' Drop ftp app in a web page.?

Thread began 3/13/2009 9:04 am by tony358938 | Last modified 3/18/2009 12:47 pm by tony358938 | 2636 views | 5 replies

tony358938

Ok, a couple of questions please..

1. For some reason the charecter  has appeared on the page. Its not in the source code. Any ideas..?

2. I have created a directory with htaccess password protection to prevent general access to the upload page called /ftp..

the page is called ftp2.php.. so the path to this secure page is /ftp/ftp2.php - that all works fine.

The directory for the upload is called /ftpfiles, also in the protected directory.. the path being /ftp/ftpfiles - this way both the upload page and the uploaded files have some protection.

However when I try to do an upload I get the following error:

++++++++++++++++++++++++
Warning: move_uploaded_file(/advert1v4.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/l/p/lpswoodbank/public_html/WA_DigitalFilePro/HelperPHP.php on line 176

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpdsAXBU' to '/advert1v4.jpg' in /home/l/p/lpswoodbank/public_html/WA_DigitalFilePro/HelperPHP.php on line 176
++++++++++++++++++++++++

Is this because I need to allow the upload proceedure past the htaccess protection.? If so, how do I do that please.

3. The line

$WA_ImageContentTypes = "image/gif,image/jpeg,image/pjpeg,image/x-png,image/png";

I am assuming controls what file types can and can't be uploaded. If I want to allow other image types such as .cdr .tif .tiff .pdf etc.. do I just need to add these to this line i.e.

$WA_ImageContentTypes = "image/gif,image/jpeg,image/pjpeg,image/x-png,image/png,image/cdr,image/tif,image/tiff,image/pdf";.. and so on.

Loving the software but on a steeeep learning curve with some of the more technical aspects of it.

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