------------------------------------------------ On Tue, 26 Aug 2003 15:06:08 -0400, Andrew Brosnan <[EMAIL PROTECTED]> wrote:
> Hello, > > Has anyone used Net::FTP to create a browser based FTP client? (I assume > that's one use for it) > > I have a client that needs to let their clients transfer files to and > from their server. Some of the files may be big (30-40MB) and using a > regular FTP client isn't an option, unfortunately. > > I'm interested to hear peoples experience or suggestions. > I am not sure I take your meaning?? I have used CGI to allow someone to upload files, and I have used Net::FTP to transfer files between servers, but I am not sure I know what you mean by a browser based FTP client. Presumably you have a web server at your disposal which can take uploads, but then I am at a loss as to why you need FTP? If you mean to act as a proxy, so the file gets transferred to the web server, and then routed from there somewhere else, then basically you have a proxy and the underlying technology could be anything that allows file transfers, aka SSH, NFS, FTP, etc. But at that point the technologies are in effect not linked, so you would be better off dividing the tasks. In other words, have a CGI that just stores a file locally, then have another process watch/poll/scheduled to check for new uploads, in the event one exists, then "do whatever it is you do when a new file is present", if that is FTP so be it. The one problem I can definitely see you running into, especially based on the file size you mentioned, is timeouts both on the server and client side. There is also another HTTP protocol request type specifically for this, but I can't remember what it is right now (because it is almost never used for anything...) that essentially just allows a file to be stored to the server, but yikes.... Unless you mean something along the lines of Mozilla and XPI? But then you are talking about Net::FTP installed on the client side... http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]