Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

perl/cgi/file getting
Hello,

I am trying to start a "transloading" and webhosting company.  This
will allow users to login via apache .htaccess type authentication and
then be able to put a url of a file into a form and the script  will
go get that file, download it to the webserver into their html
directory and then be available for world access. I have the security
setup (apache athentication) and I can get their username with
env(REMOTE_USER) but I dont' know what to do from here.  I know I want
to use "wget" to get the file, but i can't seem to get it to work in a
script.  I am a linux admin, but don't know perl.  How can I log in
the http user into linux and go get that file with wget so it will go
in their home directory, which will be their html directory.  Can
someone please get me started?

Thanks in advance

Jeff

Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Herbeck
09-26-04 08:55 AM


Re: perl/cgi/file getting
Jeff Herbeck wrote:
> Hello,
>
> I am trying to start a "transloading" and webhosting company.  This
> will allow users to login via apache .htaccess type authentication and
> then be able to put a url of a file into a form and the script  will
> go get that file, download it to the webserver into their html
> directory and then be available for world access. I have the security
> setup (apache athentication) and I can get their username with
> env(REMOTE_USER) but I dont' know what to do from here.  I know I want
> to use "wget" to get the file, but i can't seem to get it to work in a
> script.  I am a linux admin, but don't know perl.  How can I log in
> the http user into linux and go get that file with wget so it will go
> in their home directory, which will be their html directory.  Can
> someone please get me started?
>
> Thanks in advance
>
> Jeff
>

Please don't post to multiple groups simultaneously. Post to one and
wait for a response if your question is not answered then try a
different forum.  This is considered rude and time wasting.  This is
currently being discussed on beginners-cgi.

http://danconia.org

Report this thread to moderator Post Follow-up to this message
Old Post
Wiggins d'Anconia
09-26-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:28 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.