pass parameter to hyperlink

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
 
J

Jens Peter Karlsen[FP MVP]

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.
 
R

Ronx

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.
 
G

Guest

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
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top