Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes NAS/KIVA problem!!!!!Any ex-applogic guys out there!!!!!1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "NAS/KIVA problem!!!!!Any ex-applogic guys out there!!!!!1" Watch "NAS/KIVA problem!!!!!Any ex-applogic guys out there!!!!!1" New topic
Author

NAS/KIVA problem!!!!!Any ex-applogic guys out there!!!!!1

Giri Prasad
Ranch Hand

Joined: Mar 08, 2001
Posts: 56
Hi friends
I am having problems sending a file(application specific exe) to browser hiding the URL
I am using Netscape server version3.1(???) and using AppLogic not servlet.
This is what I did
1. Stream the following http header using the streamResultHeader()
Content-Type: application/octet-stream
Content-Disposition: inline; filename=myexe.exe; size=61296
Content-Description: myexe.exe
Content-Length: 61296
Accept-Ranges: bytes
2.
open the exe and stream bytes read using the streamResultBinary()
I am reading 1500 bytes at a time and streaming ,if that makes any difference
Any help will be great
Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: NAS/KIVA problem!!!!!Any ex-applogic guys out there!!!!!1
 
Similar Threads
Uploading DBF files problem
Networking between a Java application and an executable launched with Runtime.exec()
Problem in downloading file from server using Http Response
Display Pdf Content
NAS 2.x API