Anindya Sinha | 1 Apr 04:49 2003
Picon

CURL and OpenVXI

Hi 

Has anyone integrated cURL library with OpenVXI 2.0.1.
I know that it is easier and better to replace the
"thread unsafe" libwww with libCURL in OpenVXI 2.0.1.
Any pointers as to how it can be done would be really
great.

Thanks
Anindya

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

Daniel Stenberg | 1 Apr 09:20 2003
Picon

Re: CURL and OpenVXI

On Mon, 31 Mar 2003, Anindya Sinha wrote:

> Has anyone integrated cURL library with OpenVXI 2.0.1.

I can't say I have. I didn't even know what OpenVXI was when you mentioned
it.

> I know that it is easier and better to replace the "thread unsafe" libwww
> with libCURL in OpenVXI 2.0.1. Any pointers as to how it can be done would
> be really great.

Yes, having some kind of document with advice or at least a few notes from
people that have moved from libwww to libcurl would be superb!

I'm not sure what it takes to transfer data with libwww, but if *I* were to
make that transition, I'd more or less rip out all the old library-using code
and then try to add the new code using the new paradigms etc.

If you have read the libcurl docs and have specific questions on how it works
or is supposed to work, feel free to ask!

--

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

(Continue reading)

Daniel Stenberg | 1 Apr 09:33 2003
Picon

RE: Is it possible to reuse a curl_easy FTP handle

On Mon, 31 Mar 2003, Mudumbai, Rajanarayanan wrote:

[ only on the libcurl list now ]

> I am trying to get 7.10.4-PRE5 on VMS but running into build problems.

And you can't fix them? I'm about to release a 7.10.4 very soon so it would
be cool to have it build fine on VMS when shipped...

> The rename fails even with upload of a single file. I basically adapted
> ftpupload.c from examples directory for my test. RNFR followed by RNTO does
> not seem to work. I don't see anything in the verbose output.
> I am using cURL 7.10.3 version.

I don't understand why this happens. I just wrote up another test case (505)
for this, extended the test ftp server to support RNFR / RNTO commands and I
got no problems with this!

Would you be able to debug this? Set a break-point in the function
Curl_ftp_done() and single-step forward and see why it doesn't call the
ftp_sendquote() function.

--

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
(Continue reading)

Daniel Stenberg | 1 Apr 17:08 2003
Picon

RE: Is it possible to reuse a curl_easy FTP handle

On Tue, 1 Apr 2003, Mudumbai, Rajanarayanan wrote:

> Thank you for your response. I saw that the return code is 18
> (CURLE_PARTIAL_FILE) as some of the characters may not have been
> transferred.

Ah, yes, that's the explanation!

> I am doing an ascii transfer of a VMS indexed file of fixed length records.
> I guess the transfer is OK as the transferred file is correct as it is
> identical to the file transferred using ftp. The reason why ftp_sendquote
> was not called must be the non-zero return code from the transfer.

Yes, the quote series are not sent when a failure is detected.

> I am wondering if you are considering the case of CURLE_PARTIAL_FILE as an
> aborted transfer that might be continued, in which case it would be
> appropriate not to send POSTQUOTE commands.

libcurl treats all errors the same. Error => no quote commands sent.

--

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

(Continue reading)

Mudumbai, Rajanarayanan | 1 Apr 16:17 2003

RE: Is it possible to reuse a curl_easy FTP handle

Hi,

Thank you for your response. I saw that the return code is
18 (CURLE_PARTIAL_FILE) as some of the characters may not
have been transferred.

I am doing an ascii transfer of a VMS indexed file of fixed 
length records. I guess the transfer is OK as the transferred 
file is correct as it is identical to the file transferred 
using ftp. The reason why ftp_sendquote was not called must be 
the non-zero return code from the transfer. 

I am wondering if you are considering the case of CURLE_PARTIAL_FILE
as an aborted transfer that might be continued, in which case 
it would be appropriate not to send POSTQUOTE commands.

I have not had a chance to pursue the VMS build issues yet.

Thanks,
Raj

-----Original Message-----
From: Daniel Stenberg [mailto:daniel <at> haxx.se]
Sent: Tuesday, April 01, 2003 2:33 AM
To: libcurl Mailing list
Cc: Mudumbai, Rajanarayanan
Subject: RE: Is it possible to reuse a curl_easy FTP handle

On Mon, 31 Mar 2003, Mudumbai, Rajanarayanan wrote:

(Continue reading)

Naved Khan | 2 Apr 10:04 2003

https/sftp library (need help)

Hi,

I want to develop a cross-platform library of api for https and sftp. All
the basic functionality is needed for both protocols, including the
timeouts.  Redirects should preferably be handled automatically.  All
standard HTTPS errors must be recognized.  It should be packaged in an easy
to use (preferably object-oriented) api. Can I use libCURL to achieve the
same. I will look into the documentation provided on this site. Does anyone
have a C++ wrapper library build around libCurl for https and sftp? Is FTPS
a feasible alternative to SFTP considering the fact that FTPS is a somewhat
"hacky" protocol with SSL for the initial control connection and the
transfer connection is unencrypted?
Any input on this will be highly appreciated. Thanks in advance!

Regards,
Naved

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

Daniel Stenberg | 2 Apr 10:26 2003
Picon

Re: https/sftp library (need help)

On Wed, 2 Apr 2003, Naved Khan wrote:

> I want to develop a cross-platform library of api for https and sftp.

I figure this is the ftp-lookalike thing on top of SSH? Isn't that basicly a
user-interface thing to perform the same operation 'scp' does?

> All the basic functionality is needed for both protocols, including the
> timeouts.  Redirects should preferably be handled automatically.  All
> standard HTTPS errors must be recognized.

What "standard HTTPS errors" are you referring to then?

> It should be packaged in an easy to use (preferably object-oriented) api.
> Can I use libCURL to achieve the same.

I believe it can, for HTTPS at least.

> I will look into the documentation provided on this site. Does anyone
> have a C++ wrapper library build around libCurl for https

As is shown on the curl site, curlpp is one:
http://www.sourceforge.net/projects/curlpp

> and sftp?

libcurl has no sftp support, and I don't see it happening in the nearest
future either (if ever).

> Is FTPS a feasible alternative to SFTP considering the fact that FTPS is a
(Continue reading)

Naved Khan | 2 Apr 11:11 2003

https/sftp library (need help)

Hi,

Thanks for the prompt reply. I will try to elaborate a few things...

A client application will use this cross-platform library to basically
transfer CSV files to a server using SFTP. SFTP is not a requirement. If you
know of a file transfer protocol that has standard APIs and that is secure,
please tell me. I looked quickly at FTPS and it seems like a viable option.
Do you think it would be substantially easier to implement FTPS client
library rather than SFTP? Also, since libCurl supports FTPS, it might be a
good option. Any suggestions on that?
Once, the files are successfully transferred, the client application will
send a well formed XML request, to announce the upload and to take further
actions, to the server. HTTPS will be used here. The standard errors I
mentioned are any errors that might occur while posting the request and
getting a response. The requirement is to code programmatically so calling
an executable is not an option here. Can libCurl be used in the scenario
mentioned above?
Sorry if the questions sound very elementary.

Regards,
Naved

-----Original Message-----
From: Daniel Stenberg [mailto:daniel <at> haxx.se]
Sent: Wednesday, April 02, 2003 1:56 PM
To: libcurl Mailing list
Cc: Naved Khan
Subject: Re: https/sftp library (need help)

(Continue reading)

Daniel Stenberg | 2 Apr 11:16 2003
Picon

Re: Thread failed to start - problem with perl on WIN32

On Mon, 31 Mar 2003, Rotem Benny wrote:

> I was trying download the same page from the same server
> in multiple threads (3 is the minimum).

> Using libcurl (curl::easy) from perl on windows 2000.
> I am passing the results to a callback function and getting time
> parameters with $curl->getinfo() in a seperate function.
>
> I always get an error output like this:

Can you please show us a little example program that shows this problem
appear?

Does it work nicely if you only download in one single thread?

What versions of libcurl and the curl::easy interface are you using?

--

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

Kjetil Jacobsen | 2 Apr 11:17 2003
Picon
Picon

ANN: pycurl-7.10.4

Hello, 

A new version of pycurl has been released.  pycurl is a Python
extension module for the cURL library.

pycurl can be downloaded at http://pycurl.sourceforge.net/ and the
current version is 7.10.4.  

Changes since the last version:

* Added CURLOPT_UNRESTRICTED_AUTH.

* Fixed some broken test code and removed the fileupload test
  since it didn't work properly.

* Some documentation updates.

* API CHANGE: the CurlMulti.info_read() method now returns
  a separate array with handles that failed.  Each entry in this array
  is a tuple with (curl object, error number, error message).
  This addition makes it simpler to do error checking of individual
  curl objects when using the multi interface.

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

(Continue reading)


Gmane