• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PRZ file upload not possible fronm Netscape browser

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
reply
    Bookmark Topic Watch Topic
  • New Topic