Q
Hi,
Does anyone know about Response.Redirect? I want user to login to our FTP
server via an asp page on my website with their username and password. I have
created a form with username and password in a .html. User input their
username and password from the page. And I created a .asp file as follows to
redirect our FTP Server.
<%@ LANGUAGE = "VBScript" %>
<% Option Explicit %>
<% Dim username
username = Request.Form("username") %>
<% Dim password
password = Request.Form("password") %>
<% Dim URL
URL = "ftp://" & username & ":" & password & "@ftp.mysite.com"
Response.Redirect URL
%>
It doesn’t work. But it is working when I change to URL =
“http://www.mysite.comâ€.
Can anybody help out the issue? Thanks a lot.
--Qing
Does anyone know about Response.Redirect? I want user to login to our FTP
server via an asp page on my website with their username and password. I have
created a form with username and password in a .html. User input their
username and password from the page. And I created a .asp file as follows to
redirect our FTP Server.
<%@ LANGUAGE = "VBScript" %>
<% Option Explicit %>
<% Dim username
username = Request.Form("username") %>
<% Dim password
password = Request.Form("password") %>
<% Dim URL
URL = "ftp://" & username & ":" & password & "@ftp.mysite.com"
Response.Redirect URL
%>
It doesn’t work. But it is working when I change to URL =
“http://www.mysite.comâ€.
Can anybody help out the issue? Thanks a lot.
--Qing