468,291 Members | 1,491 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,291 developers. It's quick & easy.

Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir

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.

Jul 22 '05 #1
6 4286
"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"
Jul 22 '05 #2
> 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]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@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"

Jul 22 '05 #3
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.
Jul 22 '05 #4
On Tue, 25 Jan 2005 08:40:22 -0800, "Mark Schupp" <no******@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
Jul 22 '05 #5
> 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" <no******@email.net> wrote in message
news:OD**************@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]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@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"


Jul 22 '05 #6
"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"
Jul 22 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by StephenMcC | last post: by
3 posts views Thread by Justin | last post: by
4 posts views Thread by Harsh Thakur | last post: by
8 posts views Thread by Cathie | last post: by
8 posts views Thread by bryan | last post: by
3 posts views Thread by jasonheath.net | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.