pass parameter to hyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all!
I am a newbee. I have made a web page and made two text boxes where I want
to get the user name and password and then forward the info to my FTP server
(running Ser-U FTP) in the form of ftp://USERID:PASSWORD@SERVERIP:21

I do not know how to pass the parameter to a hyperlink. If I just make a
line ftp://SERVERIP:21 it does not connects to FTP server, but if I refresh
it, it works well.

I will highly appreciate your help

Thanks
Avir
 
You just described how you pass a username and password in a hyperlink
so you do know how to pass them.
BTW. 21 is the default port for FTP so you don't need to explicitly
include it in the link.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
URLs of the form ftp://USERID:PASSWORD@SERVERIP:21
will not work in modern browsers, due to security risks. It will
definitely not work in IE6.
 
Thanks Ron for reply.

if I make a directly link like this on a web page

ftp://avir:[email protected]:21 it works quite well in IE or in
Mozarella. however I am trying to make two text fields on the webpage and
pass the value (The ID and Password) to the hypelink in following way

ftp://USERID:P[email protected]:21 it is not working.

actually since it is my first time, maybe I do not know exactly how to pass
a value.

any help would be highly appreciated.

thanks
Pradeep
 
ha! Mozzarella...the new italian browser...rofl


Avir said:
Thanks Ron for reply.

if I make a directly link like this on a web page

ftp://avir:[email protected]:21 it works quite well in IE or in
Mozarella. however I am trying to make two text fields on the webpage and
pass the value (The ID and Password) to the hypelink in following way

ftp://USERID:P[email protected]:21 it is not working.

actually since it is my first time, maybe I do not know exactly how to pass
a value.

any help would be highly appreciated.

thanks
Pradeep
 
Back
Top