Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find" errors?

1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.

5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"

How do I make it redirect?

Thanks.

Re: Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir by Bob

Bob
Mon Jan 24 19:43:40 CST 2005

"A_Michigan_User" wrote:
> Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find"
> errors?
> 1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
> 2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
> 3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
> 4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.

>
> 5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
> 6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"
>

Really? This is the IP for Google: 64.233.167.99
When I type \\64.233.167.99 into the browser address bar, I get an error. I
have to type //64.233.167.99 to make it go to Google.

This results in "not found":
<%Response.Redirect "\\64.233.167.99"%>

This works fine:
<%Response.Redirect "//64.233.167.99"%>

I didn't bother trying Transfer.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Re: Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir by Mark

Mark
Tue Jan 25 10:40:22 CST 2005

> When I type \\64.233.167.99 into the browser address bar, I get an error.
> I

If the target IP is on your LAN you can access that server's file-system
using that syntax. Server.Transfer and response.redirect expect a valid URL

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:%23Jd4M9nAFHA.2032@tk2msftngp13.phx.gbl...
> "A_Michigan_User" wrote:
>> Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find"
>> errors?
>> 1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
>> 2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
>> 3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
>> 4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.
>
>>
>> 5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
>> 6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"
>>
>
> Really? This is the IP for Google: 64.233.167.99
> When I type \\64.233.167.99 into the browser address bar, I get an error.
> I have to type //64.233.167.99 to make it go to Google.
>
> This results in "not found":
> <%Response.Redirect "\\64.233.167.99"%>
>
> This works fine:
> <%Response.Redirect "//64.233.167.99"%>
>
> I didn't bother trying Transfer.
>
> Bob Barrows
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>



Re: Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir by Bob

Bob
Tue Jan 25 12:38:37 CST 2005

Mark Schupp wrote:
>> When I type \\64.233.167.99 into the browser address bar, I get an
>> error. I
>
> If the target IP is on your LAN you can access that server's
> file-system using that syntax. Server.Transfer and response.redirect
> expect a valid URL
>

D'oh!

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



Re: Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir by teknohippy

teknohippy
Wed Jan 26 11:29:03 CST 2005

On Tue, 25 Jan 2005 08:40:22 -0800, "Mark Schupp" <notvalid@email.net>
wrote:

>> When I type \\64.233.167.99 into the browser address bar, I get an error.
>> I
>
>If the target IP is on your LAN you can access that server's file-system
>using that syntax. Server.Transfer and response.redirect expect a valid URL

Yup, that's what appears to be happening to me. It's a UNC path, which
IE and explorer deal with fine, will mean bolox all to the ASP engine
though.



--
Iain Norman | http://www.eliteforum.org

Re: Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir by \

\
Sat Jan 29 10:36:15 CST 2005

> If the target IP is on your LAN you can access that server's file-system
> using that syntax. Server.Transfer and response.redirect expect a valid
> URL

That's probably what is happening.

What would a "valid" URL look like?

http://209.11.22.33/MyDir

I haven't tried that yet... but I will.

Should that work for server.transfer and response.redirect ?

Thanks


"Mark Schupp" <notvalid@email.net> wrote in message
news:ODdq43vAFHA.3368@TK2MSFTNGP10.phx.gbl...
>> When I type \\64.233.167.99 into the browser address bar, I get an error.
>> I
>
> If the target IP is on your LAN you can access that server's file-system
> using that syntax. Server.Transfer and response.redirect expect a valid
> URL
>
> --
> --Mark Schupp
> Head of Development
> Integrity eLearning
> www.ielearning.com
>
>
> "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
> news:%23Jd4M9nAFHA.2032@tk2msftngp13.phx.gbl...
>> "A_Michigan_User" wrote:
>>> Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find"
>>> errors?
>>> 1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
>>> 2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
>>> 3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
>>> 4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.
>>
>>>
>>> 5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
>>> 6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"
>>>
>>
>> Really? This is the IP for Google: 64.233.167.99
>> When I type \\64.233.167.99 into the browser address bar, I get an error.
>> I have to type //64.233.167.99 to make it go to Google.
>>
>> This results in "not found":
>> <%Response.Redirect "\\64.233.167.99"%>
>>
>> This works fine:
>> <%Response.Redirect "//64.233.167.99"%>
>>
>> I didn't bother trying Transfer.
>>
>> Bob Barrows
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so I
>> don't check it very often. If you must reply off-line, then remove the
>> "NO SPAM"
>>
>
>



Re: Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir by Bob

Bob
Sat Jan 29 10:49:00 CST 2005

"A_Michigan_User" wrote:
>> If the target IP is on your LAN you can access that server's
>> file-system using that syntax. Server.Transfer and response.redirect
>> expect a valid URL
>
> That's probably what is happening.
>
> What would a "valid" URL look like?
>
> http://209.11.22.33/MyDir
>
Yes. Forward-slashes instead of back-slashes
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"