0 pts.
 Connecting through a lotus notes database through JAVA’s urlconnection
Hi, I was wondering when I connect to a lotus notes database through java's url connection like this one, where the target is a redirect target.. http://.......gbp.nsf/agWebLAL?OpenAgent&UNID=A9D19EDE65447DF5C1256F2000465E87&Source=Customer%20Portal This connects to a file in the database, and I was wondering if there is a way to get the final URL, the filename and the mimetype before downloading it? It downloads fine, I just want to be able to get the details before my users download it.. Thanks!

Software/Hardware used:
ASKED: May 10, 2005  4:23 AM
UPDATED: May 27, 2005  8:33 AM

Answer Wiki:
You can try some unix tools that may tell you. For example the tool "curl" will probably just tell you the relocation url rather than trying to connect to the new url. Similarly, "telnet" may work. telnet hostname 80. then type GET agWebLAL?..... That might tell you the redirect. telnet is also available from a dos window.
Last Wiki Answer Submitted:  May 27, 2005  8:33 am  by  Tmjimob   0 pts.
All Answer Wiki Contributors:  Tmjimob   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _