Re: About Response.Redirect

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: McKirahan (News_at_McKirahan.com)
Date: 02/24/05


Date: Thu, 24 Feb 2005 12:13:56 -0600


"qq" <qq@discussions.microsoft.com> wrote in message
news:07214434-E86B-4DAF-A6A9-0D844A69AEE6@microsoft.com...
> 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
>

That URL format is disallowed with WinXP SP2.



Relevant Pages

  • Re: Please help a novice..!!
    ... Create the username you want to use. ... Create an actual directory somewhere on your server (usually under ... > I'm trying to set up multiple FTP "sites" on a IIS 4.0 server. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Heres a tricky one! How to transfer a file from one Web server to another.
    ... this way should work if ur working on ur own server instead of a sub-hosted ... Batch file to initiate ftp ... set objShell = Server.CreateObject ... > I would like for an ASP page to transfer a text file (from the same ...
    (microsoft.public.inetserver.asp.general)
  • FTP Client
    ... Ich möchte per MS-FTP Client eine Datei auf einen anderen Server übertragen. ... Folgender Befehl: ftp -s:Sicher.txt ... Ich bekomme immer die Meldung, daß der Server connected wurde, Username ist ... Next by Date: ...
    (microsoft.public.de.german.win2000.applications)
  • Re: ASP and security
    ... Are you trying to generate this input box on the server (that's not ... (in which case it's not an ASP issue - ASP only runs on the ... > is which username and password do I allow for anonymous access? ... > I should use for anonymous access as I haven't been able to find anything ...
    (microsoft.public.inetserver.iis.security)
  • Re: Parse ASP file from ASP Page
    ... Hi Have I an asp page with UserName and password in my local ... web server When I post a data from this server ... So I am trying to update thrg HTTP. ... This Response.writeis showing the ASP page of the server. ...
    (microsoft.public.frontpage.client)