On Sat, 19 Mar 2005 14:41:03 +0000, J Krugman wrote:
> In <BEQ_d.14367$(E-Mail Removed) .net> Alan Connor
> <(E-Mail Removed)> writes:
>
>>On comp.os.linux.networking, in
>><d1gglj$m9d$(E-Mail Removed)>, "J Krugman" wrote:
>
>>> Is it possible to use a browser's builtin directory-viewing
>>> capabilities to *upload* a file? The goal would be to be able to
>>> "drag" a file's icon to a suitable area on the screen, and thereby
>>> have this file FTP-uploaded to a remote server. Is this at all
>>> possible with curent browsers?
>
>>On some browsers you can.
>
>>But may I ask why you would want to? There are no graphics on FTP sites,
>>just directories full of files.
>
> Oh, I much prefer the text-based FTP (or SFTP, rather), but my boss
> recently saw a juryrigged, CGI-based file upload/download page at a
> colleague's website that gave him a bad case of website-feature envy.
> He wants me to produce a similar CGI gizmo for our site, which seems
> nuts to me, but he da boss. If I can convince him that one can get
> something that *looks* just as "good", but is already built into the
> browser, does not use up my time, and uses a thoroughly established
> protocol designed for the purpose, I think I can save myself from having
> to code a useless and potentially dangerous monstrosity.
If the boss insists on having something, there are multiple php based
projects that do that kind of thing already. net2ftp is one :
http://www.net2ftp.com/
Googling for php ftp interface turns up quite a few more as well. I
haven't really looked, but there are probably others that don't depend on
ftp...
So, why reinvent the wheel ? Maybe something out there will suit your
needs. Or at least be close enough that you can tweak.
--
- Matt -