This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes https://my_secure_server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "https://my_secure_server" Watch "https://my_secure_server" New topic


Sonny Pondrom
Ranch Hand

Joined: Jun 05, 2001
Posts: 128
Has anyone have an example of how to open a file on a secure server?
I have read the URL objects don't work.

This belongs in another forum. Sockets and Internet Protocols

My code runs with local files (C:my_file.txt) . I have moved them to a secure server( https://my_secure_server/) . Now I need to find out how to change the code to open files on the
server. I think that SDK 1.4 and later uses JSSE to handle https protocol now.

I don't want the user to be prompted for a passphrase, so I would like to use a running Pageant session for authorization. I also can start a PuTTY session if that would help. Can anyone show me an example of what to do next?
[ July 03, 2004: Message edited by: Sonny Pondrom ]
I agree. Here's the link:
subject: https://my_secure_server
Similar Threads
JSSE package problem
Internet Explorer expires session when sent from secure to non secure page
Best way of providing your website over https
SOAP and HTTPs Help!!!
URL = new URL("https://secure_server???