View Full Version : Drag 'n' Drop ftp app in a web page.?
tony358938
03-13-2009, 06:04 AM
I hope this is the right forum for this question..
I need to create an ftp facility within a web page for a web site we are building for a client (they are printers and need clients to upload large image files for them to then download - they will be too large to email) and rather than just offer a simple link to open the ftp window in IE, which has no control over file size, and will show whoever logs in whats sitting there etc.. I wanted to purchase a DW extension or (if possible) create the facility in DW using WA software (if I can).
I hope I've made this clear.
Can it be done using WA software.?
Is there a DW extension I haven't seen?
Any ideas or help would be greatly appreciated. Please note I am not a programmer or database builder so please keep any solutions or advice to a sensible 'I know DW well and web site design' level :-)
Cheers all.
Ray Borduin
03-13-2009, 07:38 AM
Look at the WebAssist extension Digital File Pro. I believe that may be the solution you are looking for. View the feature tour and see if it handles what you need.
tony358938
03-16-2009, 03:48 AM
Hi Ray.
Yep - you're right and it works a treat! Thank you.
So to complete this then, is there any way of creating or implimenting some kind of 'uploading in progress..' and an 'upload complete' page or notice.?
Please remember I am not a programmmer - I can follow instruction and have a very good grasp of DW but predomanently I am a web designer - hence the fact I use the WA extensions to create/complete codey stuff :-)
Cheers
Ray Borduin
03-16-2009, 08:10 AM
We don't currently offer a progress bar extension or solution, so I'm afraid some hand coding may be necessary.
There are solutions for this using mootools, or jquery that are relatively easy to implement.
We are targetting adding a feature similar to this for the next Digital File Pro update.
Ray Borduin
03-16-2009, 08:14 AM
I believe the one we are looking at integrating initially is at: http://malsup.com/jquery/block/
tony358938
03-18-2009, 09:47 AM
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.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.