Chris, I am using a JSP to do the download. I pass the relative path to the jsp page with the file name. Before your last email, I was creating a file instance and use that for my hyper link. I changed the code to it will reflect the http:// path rather than the file:// .
Now I get the tomcat error: ******************************************************** HTTP Status 404 - /temp$/ceo/test/temp/crc/00057720.tif ------------------------------------------------------------------------ -------- type Status report message /temp$/ceo/test/temp/crc/00057720.tif description The requested resource (/temp$/ceo/test/temp/crc/00057720.tif) is not available. ------------------------------------------------------------------------ -------- Apache Tomcat/4.1.29 ******************************************************* I checked the server and the file with its path does exist. Now, at the browser level I see only the file name, before getting this error. 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]