Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi David,
the easiest way to do that is to save the ZIP file in a folder under codebase, or even under a folder that is controlled by the web server authorization check. The you can create a link to that file knowing that http://<server>/Windchill/ maps to codebase folder.
For example, you can create your zip file in <wt_home>/codebase/downloads/XXXXXX.zip, and your link to get that file should be http://<server>/Windchill/downloads/XXXXXX.zip. Anyway, it is not the "best" way.
Another option should be to create servlet that will stream the contents of the zip file, and you can put there your code to check if the user is authorized or any other thing that you need.
Regards
Iker Mendiola
Prambanan IT Services
http://www.prambanan-it.com
Iker Mendiola - Prambanan IT Services |
Thanks Jess.
That was my reason for saying that the first one was not the "best" way.
Obviously it depends on the kind of information you need to dowload...
Iker Mendiola - Prambanan IT Services |