cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-users Digest, Vol 57, Issue 23

From: mohit huria <huriamohit_at_rediffmail.com>
Date: 29 May 2010 12:05:42 -0000

Hey Friens,

I want to post an xml and a text file to a url, would like to see some answers, can anyone help me how to send a multipartpart request.

Thanks & Regards,
Mohit

On Sat, 29 May 2010 15:47:03 +0530 wrote
>Send curl-users mailing list submissions to

curl-users_at_cool.haxx.se

To subscribe or unsubscribe via the World Wide Web, visit

http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users

or, via email, send a message with subject or body 'help' to

curl-users-request_at_cool.haxx.se

You can reach the person managing the list at

curl-users-owner_at_cool.haxx.se

When replying, please edit your Subject line so it is more specific

than "Re: Contents of curl-users digest..."

Today's Topics:

  1. Re: cURL (Daniel Stenberg)

  2. Trying to find out about timestamps used with --trace-time

   (Xeno Campanoli / Eskimo North and Gmail)

  3. FTP site command with 19 RETR response: (Milan P. Stanic)

----------------------------------------------------------------------

Message: 1

Date: Fri, 28 May 2010 22:58:55 +0200 (CEST)

From: Daniel Stenberg

To: the curl tool

Subject: Re: cURL

Message-ID:

Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Mon, 24 May 2010, Brad Demers wrote:

> One day, while writing an Applescript

> the FTP had me feeling whipped

> So I looked into cURL

> And gave it a whirl

> You can say that for cURL I've flipped!

Thanks a lot for that. Awesome!

-- 
 / daniel.haxx.se
------------------------------
Message: 2
Date: Fri, 28 May 2010 14:25:00 -0700
From: Xeno Campanoli / Eskimo North and Gmail
To: the curl tool 
Subject: Trying to find out about timestamps used with --trace-time
Message-ID: 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On our servers where we have programmed some probes using curl, we are getting 
offsets from the stated time on the server in these --trace-time timestamps. 
Can somebody clarify to me where these times come from and why they might be off?
We have verified that they do not correspond to either our hardware time, nor 
our cpu time.
The stamps seem to come up BEFORE the socket is connected. That doesn't mean it 
couldn't get the times off the lower level packets or wrappings, but I'd like to 
know specifically if I may, or if yet something else is happening. This is very 
puzzling.
Sincerely, Xeno
-- 
"It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member
------------------------------
Message: 3
Date: Fri, 28 May 2010 23:53:45 +0200
From: "Milan P. Stanic" 
To: curl-users_at_cool.haxx.se
Subject: FTP site command with 19 RETR response:
Message-ID: 
Content-Type: text/plain; charset="us-ascii"
Hello everybody,
I'm trying to make Perl script to change password on the FTP server
using WWW::Curl::Easy module.
I test it with sending "SITE TIME" command with CURLOPT_CUSTOMREQUEST
to FTP server and it works as expected but the curl perform
call/function returns:
"19 RETR response: 211"
instead of zero as it should if there are no errors.
I read in the mailing list archive what that means but I would like to
have "clean" answer from the perform function.
I tried that with CURLOPT_QUOTE parameters and it answers with
"56 Failure when receiving data from the peer"
My question is: is there a way to get the clean (i.e. zero) response
from perform function in case when we don't need any data from the
server?
I'm attached to this mail Perl script I'm using for test and result
which I have got.
TIA
-- 
Kind regards, Milan
--------------------------------------------------
Arvanta, IT Security    http://www.arvanta.net
Please do not send me e-mail containing HTML code.
-------------- next part --------------
* About to connect() to 10.5.1.6 port 21 (#0)
*  Trying 10.5.1.6... * connected
* Connected to 10.5.1.6 (10.5.1.6) port 21 (#0)
< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 220-You are user number 1 of 50 allowed.
< 220-Local time is now 23:46. Server port: 21.
< 220-IPv6 connections are also welcome on this server.
< 220 You will be disconnected after 15 minutes of inactivity.
> USER anonymous
< 230 Anonymous user logged in
> PWD
< 257 "/" is your current location
* Entry path is '/'
> EPSV
* Connect data stream passively
< 229 Extended Passive mode OK (|||32597|)
*  Trying 10.5.1.6... * connected
* Connecting to 10.5.1.6 (10.5.1.6) port 32597
> TYPE A
< 200 TYPE is now ASCII
> SITE TIME
< 211 2010-05-28 23:46:55
* RETR response: 211
* Remembering we are in dir ""
* Connection #0 to host 10.5.1.6 left intact
> QUIT
< 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
< 221 Logout.
* Closing connection #0
Failed: 19 RETR response: 211
-------------- next part --------------
A non-text attachment was scrubbed...
Name: curl-ftp-site.pl
Type: text/x-perl
Size: 984 bytes
Desc: not available
URL: 
------------------------------
_______________________________________________
curl-users mailing list
curl-users_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
End of curl-users Digest, Vol 57, Issue 23
******************************************

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-29