Coding for Downloading a file from other internal site from my website.

7 views
Skip to first unread message

Ramachandran

unread,
May 20, 2006, 3:08:58 PM5/20/06
to
hi All,

I am creating a website using perl n cgi. I m stucked in a place where
i have combobox which list the document names and the value it contains
is the unique number. parallel to it i have created a button GETIT, if
the user clicks on it ... then it should refer to other internal site
where these documents are stored, the moment it refer to the other
website it asks for network login and password and then if its provided
correctly it ask for open, save n cancel for that document to get
downloaded.

I m trying to write a code where if users clicks on GETIT button .. he
should not be asked with the login n password ( that should be provided
inthe script itself common login n password) and should not be prompted
as save,open n cancel, the file should be saved in his local system and
prompts the path to the user where it saved.

It will be great help if anyone can help me out in this
requirement.....

Many Thanks,


--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.

HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html

Owen

unread,
May 24, 2006, 8:28:44 AM5/24/06
to
I am not sure of exactly what you are trying to do, but perhaps the
"GETIT" button when decoded could activate a redirect.

my $getit = $query->param("getit") || '0' ;
if ($getit){redirect to http://myisp.com/download.thinggy}

Owen

Reply all
Reply to author
Forward
0 new messages