Chris,
With your help, I got it to work.
Since I am downloading images, I just have to change the way I copy the
files from the source to the web app directory.

The format of the path was the problem.

In the case you are interested:

- I get the UNC file path format from SQL database
- then copy the file from source to target
- then create this path format for url download, as you directed me

Thank you so much,

James

-----Original Message-----
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 2:18 PM
To: Tomcat Users List
Subject: Re: download file issue


James,
> You have no idea what I have gone through to figure this out.
> I will do this as long as you last.
> 
> That is not a tomcat error. It is an IE error.
> 
> \\ipaddress\temp$\ceo\test\temp$\00064735.tif
> 
> I have not activated the DNS yet, that is why the IP address is
showing
> up.
> 
> when I move the cursor over the hyperlink, at the bottom of the status
> bar I see this address:
> 
> file://ipaddress/temp$/ceo/test/temp$/00064735.tif(local)

Oh, wow. You're not sending the file to the browser... you're pushing it

to the user's machine, and then providing a local link?

Ouch. That's a tough process. Why not deliver the file via the browser?

That URL you show there starting with file:// will look for a file on 
the local machine (where the browser is running). I'm guessing that it's

not going to work, especially because you don't have a drive letter in 
the URL.

That URL will point to something like 
c:\ipaddress\temp$\ceo\test\temp$\00064735.tif , which I'll bet doesn't 
exist on your client.

This is (I'm sure) why you're getting this error. If you want to show a 
file on the remote server, your URL better look like http://something

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



<---In (1)




Out---> (1)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to