Upload Bean corrupts PDF files in Dreamweaver MX

This is a small problem, but it's been bugging me

I've used the com.oreilly.servlet.MultipartRequest to upload PDF files. I can open the files fine through explorer (or any other way). The problem is, when the files I try to open the uploaded file through Dreamweaver MX, it complains: "Can't find an editor for the file extension." All other pdf's when opened through dreamweaver spawn Acrobat and open the file...

Thanks for the help.
chambers777Asked:
Who is Participating?
 
kennethxuConnect With a Mentor Commented:
>> -I can open them properly both through explorer and the web.
then, what make you think it is corrupted?

1. as long as you can open the file from uploaded directory, it is uploaded correctly.
2. the mime/type is never uploaded with your file. only file content is uploaded.
0
 
kennethxuCommented:
not quite understand you question, where do you store you uploaded file?
0
 
chambers777Author Commented:
Uploaded files are stored in a normal directory on the server.... that folder is mapped to my computer.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
kennethxuCommented:
so you can open those uploaded files from windows explorer without problem? but you cannot open it from web page?
0
 
kennethxuCommented:
and how the pdf file is related to dreamweaver? isn't it should be opened by acrobat reader?
0
 
chambers777Author Commented:
-I can open them properly both through explorer and the web.
-Yes, dreamweaver should spawn the Acrobat reader.

The only reason I am concerned is that I'm wondering if the file or it's (mime/type) had been corrupted in the upload.
0
 
chambers777Author Commented:
Thanks for the help anyway.
0
All Courses

From novice to tech pro — start learning today.