Hi Dan I faced this problem before and I have tried/used
JAVA - see http://www.jfileupload.com/ And earlier site http://www.javazoom.net/applets/jclientupload/jclientupload.html - has an FTP applet as well FLASH - SWF Upload + jQuery PERL/CGI http://www.raditha.com/php/progress.php The problem with large uploads is the server stability e.g. shared sites like hostmonster etc give problems - especially if you are chunking the upload via a PHP script back-end (see jclinetupload) I was trying to handle uploads of 100M -300Meg! -> so I settled on Amazon S3 for storage + jfile AND/OR SWFUpload (client can choose) but SWFUpload has the advantage of being on virtually all browsers. Using S3 meant the main server/site did not have to be as robust or standalone Amazon S3 allows saving into "buckets" and subdirs directly i.e. you can "mimic" FTP and is quite cheap ($1-2/mth). It took me a while to get Flash SWF Upload and S3 interface to work together - some arcane "tricks" needed Btw S3 has a 2 Gig limit. If you want to see some demos or code you can contact me direct. I am quite willing to share what I learnt. I also have working code/apps for Adobe Air/Flash to interface to S3 Andre -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dan Khan Sent: Monday, 2 November 2009 19:18 To: [email protected] Subject: [phpug] Re: FTP File-Upload Field Yes, as I mentioned, a drop-in replacement widget for the file-upload field - whether it's activeX, java, air, or flash - don't care. Don't think it's my requirement is anything to do with outgrowing hosting requirements as a few ppl have mentioned, simply want a web-based control to do a client-side FTP transaction - happy for the client to have to download and run something in browser. I've not had enough experience with recent flash to know if it can access local files and FTP up to a server inside a web-page and then programmatically address the flash as part of the page submit (e.g. get uploaded path and success flag)? I imagine this isn't too hard to do (even in Java), just don't want to rewrite something that sounds like it should be created already! Cheers, -Dan 2009/11/2 Cliff Black <[email protected]>: > > Hi Dan, > > Sounds like you want/need a 'stand alone' client to do the FTP, that just > happens to be initiated by a Web browser. > > If this is the case, it needs to be realized it's not actually a web based > process, but is in fact a standalone FTP client that just happens to be started via a web page. (if you're familiar with Cisco ASDM or SDM software.. it's a similar concept) > This means there's not really going to be any 'drop in' solution to replace a > current form unfortunately. > > A Java/ActiveX applet immediately comes to mind. > * The client views a page which initiates a pre-configured java applet to > connect to the relevant destination. > * The client uses this applet (running client side) to do their upload, then > closes their window once finished terminating the applet in the process. > * Of course, the client will need to download the applet prior to any > uploading (this is usually prompted by the browser). > > Moving to a VPS may be the other option. > If the client requires the ability to upload larger files via HTTP, and it > cant be done with their current hosting arrangement, then they've possibly outgrown their current hosting environment. > > HTH. > > ~ C > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Dan Khan > Sent: Monday, 2 November 2009 3:57 p.m. > To: [email protected] > Subject: [phpug] Re: FTP File-Upload Field > > > I'm looking for a drop-in replacement for the file-form field that > will work with any type of hosting, cheaper the better for some of my > clients. using a VPS and control the upload size myself is a > possibility, but this is also often a lot more expensive than a simple > hosted solution and a client-side widget to do they upload. > > Something similar to FancyUpload > (http://digitarald.de/project/fancyupload/) that can do the transfer > across FTP or something that isn't just using an HTTP upload > server-side mechanism would be ideal. > > No-one come across anything like this? > > Cheers, > -Dan > > > > 2009/11/2 Jochen Daum <[email protected]>: >> Agree. How many months of vps hosting have you spend researching this so >> far. >> >> Kind regards, >> Jochen >> >> Mobile: 021 567 853 >> Phone: 09 630 3425 >> Email: [email protected] >> Skype: jochendaum >> Web: www.automatem.co.nz >> >> On Nov 2, 2009 11:36 AM, <[email protected]> wrote: >> >> >>>>>>> "Dan" == Dan Khan <[email protected]> writes: >> >> Dan> I need to quote on a new project that wants to allow 30+MB >> Dan> file uploads as part of a php web app (i.e. more than the >> Dan> default web host allows). My initial thought is to find a >> Dan> client-side control that replaces the file upload field that >> Dan> does a direct FTP connection, and some-sort of server-side >> Dan> callback once that is complete so I can still push to my PHP >> Dan> script. >> >> Wouldn't it be much easier to find a provider that can set this up for >> you? >> >> -- >> All the best, >> >> Berend de Boer >> >> > >> > > > > > > please consider the environment before you print this email ########################################################################################## The views expressed in this e-mail and any corresponding attachments do not necessarily reflect those of the Health Research Council of New Zealand. This e-mail together with any accompanying attachments may be confidential and subject to legal privilege. If you have received this message in error, please notify the sender immediately and note that you may not copy, disclose or use the content in any way Thank You. ########################################################################################## --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
