[TriLUG] putting files to a server with a browser
Aaron S. Joyner
aaron at joyner.ws
Mon May 3 13:57:59 EDT 2004
Long story short, you need a script on the server that will receive the
file, and place it on the server accordingly. As David described, you
can do it with PHP, PERL, or god forbid one of those J* options.
For beginning PHP information look here:
For PERL, check out these:
DISCLAIMER: I did not review these scripts at all. They are the results
of 30 seconds of googling. Don't hold anyone but yourself responsible
if they cause the world to end. You should not drop scripts into place
on your server unless you have _at_least_ a rudimentary understanding of
how they work. Take the few minutes to read the articles and understand
what's going on with those scripts. Even if you don't use that
knowledge to do a cursory audit of the script for security reasons,
you're orders-of-magnitude more likely to get them working "as intended"
if you understand the basic principles.
Hope that helps!
Aaron S. Joyner
Turnpike Man wrote:
>there is an HTML tag <input type="file"> if I recall correclty that you can use
>in a web based form... from there, what and how you deal with it depends on
>what scripting language(s) you are using... PHP, JAVA/JSP, Perl, etc.
>--- Dan <trilug at daijin.nulluser.com> wrote:
>>I have an internal Apache web site that is used to share files. Point
>>browser at page, right click on file name and download it...
>>How can I setup something to go the other way? Uploading a file from the
>>client machine to the file server with a browser?
>>TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>>TriLUG Organizational FAQ : http://trilug.org/faq/
>>TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>>TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
More information about the TriLUG