Ok Great!! Thanks, I'll give it a try...

David M. Funk
President/CEO
 
Tivoli Certified Enterprise Consultant
Specializing in Network and Systems Management Solutions
 
Trinity Solutions           
604 Cassandra Dr.        
Cranberry Twp., PA 16066
 
Phone: 724-316-0721                    
Fax:     724-772-7889 
email: [EMAIL PROTECTED]
www:   http://www.trinityITsolutions.com



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Hamilton
Sent: Thursday, June 19, 2008 12:32 PM
To: openssl-users@openssl.org
Subject: Re: HTTPS put file in perl

PUT is part of the DAV specification.  I'm seeing
http://www.webdav.org/perldav/ as being a good start.  It states that
Crypt::SSLeay (and thus openssl) is necessary for getting HTTPS
support into LWP, which the HTTP::DAV module uses.

-Kyle H

On Thu, Jun 19, 2008 at 7:27 AM, David M. Funk <[EMAIL PROTECTED]> wrote:
> Yea that's what I tried earlier and couldn't get to work..
>
> Thanks for your reply though…
>
>
>
> David M. Funk
> President/CEO
>
> Tivoli Certified Enterprise Consultant
> Specializing in Network and Systems Management Solutions
>
>
>
> Trinity Solutions
> 604 Cassandra Dr.
> Cranberry Twp., PA 16066
>
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim Lynch
> Sent: Thursday, June 19, 2008 8:39 AM
> To: openssl-users@openssl.org
> Subject: Re: HTTPS put file in perl
>
>
>
> I don't have any examples, but check out
> http://search.cpan.org/dist/libwww-perl/lib/HTTP/Request/Common.pm
>
> Using LWP and a PUT operation seems to be pretty straightforward if this
> document is to be believed.
>
> Jim.
>
> On Wed, Jun 18, 2008 at 3:40 PM, David M. Funk <[EMAIL PROTECTED]> wrote:
>
> Anybody have some code snippets that uses https to put a file on a
> webserver?  I can't seem to get anything to work.  I do have an example in
> java that works.  But I'm no java coder.  I would like to convert to perl.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++
>
> java.net.URL sendUrl =new java.net.URL(
> "http://10.2.0.232:28100/file?cmd=ft&name=testfile.mset&filter=mset"; );
>
> java.net.HttpURLConnection conn =( java.net.HttpURLConnection
> )sendUrl.openConnection();
>
> //sendFile.setChunkedStreamingMode( -1 );
>
> conn.setUseCaches( false );
>
> conn.setRequestMethod( "PUT" );
>
> conn.setDoOutput( true );
>
> conn.connect();
>
>
>
> java.io.OutputStreamWriter txtWriter = new java.io.OutputStreamWriter(
> conn.getOutputStream() );
>
>
>
> java.io.BufferedReader br = new java.io.BufferedReader(new
> java.io.FileReader(new java.io.File("c:\\mark\\testFile2.txt")));
>
> String temp=new String();
>
> while((temp=br.readLine())!=null){
>
>                txtWriter.write( temp );
>
>                txtWriter.write( "\n" );
>
> }
>
>
>
> br.close();
>
> txtWriter.close();
>
>
>
> //int resp = conn.getResponseCode();
>
>
>
> out.write( "response Code:"+conn.getResponseMessage() );
>
>
>
> conn.disconnect();=
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++
>
>
>
> TIA,
>
> David M. Funk
> President/CEO
>
> Tivoli Certified Enterprise Consultant
> Specializing in Network and Systems Management Solutions
>
>
>
> Trinity Solutions
> 604 Cassandra Dr.
> Cranberry Twp., PA 16066
>
> Phone: 724-316-0721
> Fax:     724-772-7889
> email:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> www:    <http://www.trinityITsolutions.com>
> http://www.trinityITsolutions.com
>
>
>
:��I"Ϯ��r�m����
(���Z+�K�+����1���x
��h���[�z�(���Z+�
��f�y������f���h��)z{,���

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to