Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageJeff 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.