• Post Reply Bookmark Topic Watch Topic
  • New Topic

PRZ file upload not possible fronm Netscape browser  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am uploading a file from a form to the database. For a
Lotus Notes .PRZ file there is no problem using the
Internet explorer for upload but while trying to upload
from Netscape Navigator it is giving the massage
'Document Contains No Data' and stopping without submitting
the form.
This particular problem is only for .PRZ files where the
mimetype is "application/octet-stream"
Can the problem in case of PRZ files be solved?
Thanks in advance
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Nilanjan B",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. So you can do any other kind of file upload from Netscape (a regular text file works).

2. Can you do any other type of file that is of MIME-TYPE application/octet-stream

I've done some file upload code that works in both IE/NS but I've restricted it to text files and gifs.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could you please post me the code ? In my case except for PRZ
it works for both jpeg and txt filesin both IE and Netscape.
But for PRZ it does not work in Netscape
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't really have my own code to post, but I can tell you what I use... the com.oreilly.servlet package available here:
http://www.servlets.com/cos/index.html

[This message has been edited by Mike Curwen (edited May 24, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!