Creating an SSL Client

2009-10-05 Thread Mark Wallsgrove
Hey guys, I need to create a client which can read data of an HTTPS connection .. I have seen examples for SSL servers, but not clients. Could someone provide me with a really basic example? Surely it isn't too hard? -- Best Regards, Mark Wallsgrove

Re: Creating an SSL Client

2009-10-05 Thread Emmanuel Lecharny
Mark Wallsgrove wrote: Hey guys, I need to create a client which can read data of an HTTPS connection .. I have seen examples for SSL servers, but not clients. Could someone provide me with a really basic example? Surely it isn't too hard? Have a look at the chat client.

Re: Creating an SSL Client

2009-10-05 Thread David Rosenstrauch
On 10/05/2009 12:59 PM, Mark Wallsgrove wrote: Hey guys, I need to create a client which can read data of an HTTPS connection .. I have seen examples for SSL servers, but not clients. Could someone provide me with a really basic example? Surely it isn't too hard? Maybe use Apache Commons'

Re: Creating an SSL Client

2009-10-05 Thread Mark Wallsgrove
lol, apologies .. I thought I had included enough information ;) I am trying to create a simple MSN Messenger Client. Majority of the communication is just plan text with no formatting. But to enable Microsoft to be generic with their authentication they have made it so that you communicate using

Re: Creating an SSL Client

2009-10-05 Thread David Rosenstrauch
? I would think that surely HTTP Client *is* the correct utility for this situation. Apache HTTP Client is a client-side HTTP communications library. Apache MINA is a framework for writing high performance network servers. You basically need to write a client (GUI) app, that communicates

Re: Creating an SSL Client

2009-10-05 Thread David Rosenstrauch
On 10/05/2009 04:51 PM, Mark Wallsgrove wrote: Hey, OK. The application will only communicate over HTTPS for a very brief amount of time. From what I can grasp from a brief look we are talking about 2 - 4 commands. The reason why I wanted to use Apache Mina is because it supports Asynchronous

Re: Creating an SSL Client

2009-10-05 Thread Christopher Popp
Mark Wallsgrov wrote: Hey, OK. The application will only communicate over HTTPS for a very brief amount of time. From what I can grasp from a brief look we are talking about 2 - 4 commands. The reason why I wanted to use Apache Mina is because it supports Asynchronous communication, which MSN

Re: Creating an SSL Client

2009-10-05 Thread Mark Wallsgrove
Hey guys, Thanks for the replies! Actually I was wrong with the XML structured communication. It is using HTTPS: HTTP/1.1 302 Found\r\n Server: Microsoft-IIS/5.0\r\n Date: Mon, 02 Jun 2003 11:58:32 GMT\r\n PPServer: H: LAWPPLOG5C006\r\n Connection: close\r\n Content-Type: text/html\r\n

Re: Creating an SSL Client

2009-10-05 Thread Christopher Popp
Mark Wallsgrove wrote: But, that shouldn't be too hard to parse. How much do you have to configure with the SSL connection? I was just reading the example that David linked me too and it seams that it has ~ 7 files. How have you implemented the filter Chris? Best Regards, Mark Wallsgrove The

Re: Creating an SSL Client

2009-10-05 Thread Mark Wallsgrove
Thanks Chris David. You have been a great help. I might try and go the Mina route first to see what the final result looks like. If it gets too messy I will try out HTTP Client. Thanks Again, Mark Wallsgrove 2009/10/5 Christopher Popp christopherp...@yahoo.com: Mark Wallsgrove wrote: But,

Re: quota mechanism

2009-10-05 Thread Niklas Gustavsson
On Fri, Oct 2, 2009 at 3:24 PM, acec acec tomcata...@yahoo.ca wrote: How do I implement a custom file system? Have a look at the native file system implementation. I haven't looked into quotas at all, but I imaging you could return a wrapped stream from FtpFile.createOutputStream() which checks

Re: FTP Server Ports

2009-10-05 Thread Vinicius Carvalho
Thanks Niklas. Just found the docs, we are opening a few passive ports now. Regards On Mon, Oct 5, 2009 at 3:30 PM, Niklas Gustavsson nik...@protocol7.comwrote: On Mon, Oct 5, 2009 at 8:19 PM, Vinicius Carvalho vinicius.carva...@sambatech.com.br wrote: Hello there! We recently moved our FTP