Re: DELELE occurence error later

2012-06-01 Thread Dan Fandrich
On Fri, Jun 01, 2012 at 04:02:09PM +0200, M. Shinkaze wrote: Sorry for the late reply, I change the way to proceed but got an error CURLE_QUOTE_ERROR on the file FILE.txt to delete in the directory dir : firstly, I connect directly the the directory which contains the file to suppress :

Re: CURLOPT_URL always lists

2012-05-21 Thread Dan Fandrich
On Mon, May 21, 2012 at 06:47:55PM +0200, Anders Havn wrote: I'm just wondering if I'm doing something wrong or this is just how it works. I always set CURLOPT_URL to my base url, but then it also always lists the files and folders in the base url. curl will always transfer a file unless

Re: [PATCH] add CURLINFO_SSL_VERIFYRESULT_STR providing a human-readable error string

2012-05-14 Thread Dan Fandrich
On Mon, May 14, 2012 at 04:48:48PM +0200, Kamil Dudka wrote: Although I missed the devel freeze for 7.25.1, I am sending an up2date version of the patch to keep this thread alive. If anybody could comment on the patch meanwhile, it would be really appreciated. Maybe I missed the original

Re: Setting priority for an easy handle in a multihandle

2012-04-29 Thread Dan Fandrich
On Sun, Apr 29, 2012 at 07:26:40PM +0200, Daniel Stenberg wrote: On Sun, 29 Apr 2012, Lijo Antony wrote: I would like to know whether there is a way to set a higher priority for an easy handle, so that my rpc methods will not be affected by uploads and downloads? Exactly how would that

Re: HTTP proxy issue

2012-04-27 Thread Dan Fandrich
On Fri, Apr 27, 2012 at 08:43:47PM +0800, po_mail_test wrote: I'm using libcurl 7.22.0, but something troubles me. I'v written the following codes in hope of making a HTTP request through a HTTP proxy (hosted by CCProxy: www.ccproxy.com/). [...] But, it does not work as i expected. It sends

Re: Static libcurl with static libcurl dependencies

2012-04-20 Thread Dan Fandrich
On Fri, Apr 20, 2012 at 02:34:28PM +0200, molator molator wrote: I'm trying to build statically libcurl with static dependencies from source on Ubuntu 8.04 (not negotiable). So far i can build: - shared libcurl with shared dependencies, - static libcurl with shared dependencies. But no

Re: obtaining information about files or folders with MLST?

2012-04-19 Thread Dan Fandrich
On Thu, Apr 19, 2012 at 12:12:10AM +0200, Ellié Computing Open Source Program wrote: the MLST command returns its result in the control connection, with a success code of 250, this is not handled unfortunately. The CUSTOMREQUEST option is the way to do it if the custom command sends something

Re: unicode in CURLOPT_POST

2012-04-19 Thread Dan Fandrich
On Thu, Apr 19, 2012 at 06:48:35PM +0200, Kublo Enter wrote: my problem is that when I trying to send data to the server witch option CURLOPT_POSTFIELDS I fail it. I'm trying to do it in such a way: const wchar_t *datapost=Lsome=abc; curl_easy_setopt(curl, CURLOPT_POSTFIELDS,datapost);

Re: [Mageia-dev] Important and urgent: people with ati cards needed on beta3 pre release qa

2012-04-18 Thread Dan Fandrich
On Wed, Apr 18, 2012 at 09:33:13AM +0200, Oliver Burger wrote: Am 18.04.2012 09:28, schrieb Jeff Robins: 2) Where can I download the beta pre-release ISO's? Just join us in #mageia-qa on irc, we will tell you, but I don't want to post it on a public list, because the server doesn't have all

Re: Issue with partial file transfer

2012-04-18 Thread Dan Fandrich
On Wed, Apr 18, 2012 at 09:37:36AM +0200, Grzegorz Sikorski wrote: I am using curl (v. 7.24) on ARM processor with linux OS. The box has access to some server (with linux OS) via GPRS connection with VPN tunnel set up. I found some issue with ftp uploading files to server. When the file is

Re: SSL/TLS support using Windows SSPI Schannel API

2012-04-14 Thread Dan Fandrich
On Sat, Apr 14, 2012 at 10:45:52PM +0200, Guenter wrote: Marc Hoersken i...@marc-hoersken.de wrote: Agreed, merge into the official repo. I find it good. /me too! Daniel, do you agree? And if so can you please merge? Will the patch cause it to be used by default on Windows? It sounds like

Re: curlrules.h:143: error: size of array __curl_rule_01__ is negative in RH Linux

2012-04-13 Thread Dan Fandrich
On Fri, Apr 13, 2012 at 11:42:14AM +, S, Shubha wrote: I have installed libcurl as instructed in Step1. Install on Linux of this link http://code.google.com/p/mysql-udf-http/ and when I am trying to install mysql-udf I am getting this error: In file included from

Re: Failure with --proxy-anyauth on NTLM

2012-04-03 Thread Dan Fandrich
On Tue, Apr 03, 2012 at 12:21:20PM +0200, Matteo Fiorito wrote: It is not a problem to store a configuration. The problem is the user can give me username and password (which I store crypted in a config file), however the user does not know what is NTLM.. I could test all the AUTH protocols,

Re: Problem with SFTP

2012-04-02 Thread Dan Fandrich
On Mon, Apr 02, 2012 at 07:59:21PM +0400, Dmitry wrote: I'm trying to send SFTP commands to the server. The answer is: syntax error in SFTP command. Supply parameter (s)! I tried the command here, and these http://www.computerhope.com/unix/sftp.htm

Re: Problem with SFTP

2012-04-02 Thread Dan Fandrich
On Mon, Apr 02, 2012 at 09:22:02PM +0400, Dmitry wrote: Thanks for answer! I use libcurl project to write some class wich will encapsulate libcurl realization inside. I successfully compiled project with upload file on SFTP server and that's all that i can do. Another FTP command don't work

Re: [Mageia-dev] [RFC] How to proceed with seamonkey/iceape for security updates and freeze push

2012-03-30 Thread Dan Fandrich
On Thu, Mar 29, 2012 at 12:13:02PM +0200, nicolas vigier wrote: It seems that if we don't have major changes, there should be no problem to have permission. So I think someone should ask for permission for firefox and thunderbird. Does anyone know where it should be asked ? The page at

Re: [Mageia-dev] autoselecting a driver for some hardware

2012-03-19 Thread Dan Fandrich
On Mon, Mar 19, 2012 at 12:17:46PM +0100, zezinho wrote: Thanks, but no : this is howto load manually the modules, what I seek for is what file associates the PCI IDs to a driver maybe in /etc/modprobe.conf : Are you looking for /lib/modules/`uname -r`/modules.pcimap ? Dan

Re: Using libcurl on top of lwip on POSIX embedded platform (take 2)

2012-03-19 Thread Dan Fandrich
On Fri, Mar 16, 2012 at 02:00:34PM +0100, Mason wrote: By the way, is there a way to make libcurl even smaller? :-) In case you haven't found it by now, there are a number of tricks documented in the INSTALL file. Dan --- List

Re: [Mageia-dev] freeze push mgaonline

2012-03-15 Thread Dan Fandrich
On Thu, Mar 15, 2012 at 03:25:40PM +0100, n...@gmx.com wrote: * stop using Mandriva URLs and replace them by www.mageia.org (mga#1590) * replace Mandriva strings by Mageia in gnome-mandrakeonline.desktop * replace MIME Type application/x-mdv-exec by application/x-mga-exec Replacing Mandriva -

Re: [Mageia-dev] freeze push mgaonline

2012-03-15 Thread Dan Fandrich
On Thu, Mar 15, 2012 at 10:15:34PM +0100, Kamil Rytarowski wrote: If you don't know what it is used for why are you so opposed? We have our own names and suffixes, so I don't why you are against. For exactly the same reason we dropped X-Mandriva-* in favor of X-Mageia in .desktop files. If

Re: [PATCH] POP3: Expanded the supported commands

2012-03-14 Thread Dan Fandrich
On Tue, Mar 13, 2012 at 11:09:37PM +, Steve Holme wrote: At present I don't inspect the contents of the custom command, which means that 1) The user is free to send utter rubbish e.g --url pop3://mail.domain.com -I -X UTTER RUBBISH and the server will response with an appropriate error

Re: [PATCH] POP3: Expanded the supported commands

2012-03-13 Thread Dan Fandrich
On Sat, Mar 10, 2012 at 07:44:46PM +, Steve Holme wrote: I would appreciate it if you, Dan and anyone else who is interested could give the following list a little review. The list contains all the proposed command line arguments for all POP3 commands. I have only grouped them for easy of

Re: Building the static libcurl and $LIBS

2012-03-08 Thread Dan Fandrich
On Thu, Mar 08, 2012 at 06:23:24PM +0100, Mason wrote: I'm trying to build the static libcurl. In the configure script, I asked the linker to add the network stack library (where all the network related functions live) with ./configure LIBS=lwip_files/lwip.a ... But when I try to build

Re: How to catch SFTP commands result ?

2012-03-08 Thread Dan Fandrich
On Thu, Mar 08, 2012 at 10:20:59PM +, muller_b wrote: I have a problem using libcurl as a SFTP client; I am pointing a path via the url and I would want to do operations on files. I am using curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, func) which allows me to get the file listing of

Re: Question about non-standard end of http response line

2012-03-02 Thread Dan Fandrich
First, please don't top post. Second, please don't quote an entire digest message when making a reply. Third, please don't reply to a message when starting a new topic--it messes up the threading. Please read the Etiquette link at the bottom of each message: http://curl.haxx.se/mail/etiquette.html

Re: Saving attachments to disk

2012-03-01 Thread Dan Fandrich
On Thu, Mar 01, 2012 at 07:26:41AM +0100, aitor wrote: The problem is that there is no way to save these attachment properly. For instance, when saving file.xml all the non ascii characters are replaced with ?. So if file.xml originally was: I've been hit by this problem as well. I've also

Re: Cross-compiling libcurl for an embedded platform using lwip

2012-02-28 Thread Dan Fandrich
On Tue, Feb 28, 2012 at 09:41:11AM -0800, Gary Maxwell wrote: It has been about five years since I built libcurl to link against lwip. A lot has happened to both libraries since then, but it still seems true that ./configure will not be able to make sense of the lwip libraries and headers.

Re: Pipelining and POST requests

2012-02-28 Thread Dan Fandrich
On Tue, Feb 28, 2012 at 06:10:08PM +0400, ru-17 wrote: I got more details for the described problem. Seems that pipelining is working, I configured Nginx to print the status of pipelining by using directive $pipe in log format. And almost in 70% of request has used pipeline. I assume you're

Re: Cross-compiling libcurl for an embedded platform using lwip

2012-02-28 Thread Dan Fandrich
On Tue, Feb 28, 2012 at 09:34:40PM +0100, Gisle Vanem wrote: lwIP already has this shim built-in. Ref. src/include/lwip/sockets.h: #if LWIP_COMPAT_SOCKETS #define accept(a,b,c) lwip_accept(a,b,c) #define bind(a,b,c) lwip_bind(a,b,c) #define shutdown(a,b)

Re: Only want to open TCP port

2012-02-23 Thread Dan Fandrich
On Wed, Feb 22, 2012 at 8:08 PM, Gaylord Yu gyu5poi...@yahoo.com wrote: However, can someone tell me how to do the following with libcurl (or if it is even possible in libcurl): I simply want to open a TCP socket at a particular IP address and port. Then I want to send

Re: libcurl and OpenSSL crush

2012-02-18 Thread Dan Fandrich
On Sat, Feb 18, 2012 at 12:18:05PM +0400, ibram wrote: Hi all. After updating some libs (zlib, OpenSSL, libCURL) I got a Segmentation Fault in my project (with old versions the project was working OK. Now libCURL crashes at curl_easy_cleanup. Crashing appearing only if I use HTTPS connection.

Re: Avoid copying data in CURLOPT_WRITEFUNCTION callback

2012-02-13 Thread Dan Fandrich
On Mon, Feb 13, 2012 at 10:36:04AM +0100, Konstantin Miller wrote: Is there any way to avoid copying data between the buffer that is passed to the callback function, which is set with CURLOPT_WRITEFUNCTION, and my own buffer? Can I tell libcurl that I would like to reuse its buffer and that I

Re: Question about using curl_easy_setopt CURL_INFILESIZE_LARGE

2012-02-10 Thread Dan Fandrich
On Thu, Feb 09, 2012 at 10:05:11AM -0800, Rohan Desai wrote: I thought something like that. But after looking in the code it seems like it just assigns some curl_off_t variable the passed in value and later uses that variable to populate the content length. Shouldn't the internal curl_off_t get

Re: Q. about optimizing use of Curl Handles

2012-02-10 Thread Dan Fandrich
On Fri, Feb 10, 2012 at 01:14:56PM -0800, Roger Tremblay wrote: I was told that establishing a network connection is costly. So how can we use LibCurl to minimize this cost? I guess when it comes to connection cost, the URL (used to configure the Curl handle) is the only parameter to

Re: Using Default Proxy Credentials on Windows

2012-02-10 Thread Dan Fandrich
On Thu, Feb 09, 2012 at 09:09:29AM -0500, Scott Richter wrote: When I try to use libcurl to transfer files, I am getting a proxy authentication required error.  My questions is, how do I tell libcurl to use the default credentials of the logged in user for proxy authentication, in the same way

Re: Question about using curl_easy_setopt CURL_INFILESIZE_LARGE

2012-02-09 Thread Dan Fandrich
On Wed, Feb 08, 2012 at 06:31:51PM -0800, Rohan Desai wrote: For most requests, i provide a curl_off_t for file size. However for 0-byte (empty) files i use: curl_easy_setopt(curl handle, CURLOPT_INFILESIZE_LARGE, 0L) This is causing my PUT to sometimes go out with huge Content-Length

Re: Memory consumption during large uploads..

2012-02-08 Thread Dan Fandrich
On Wed, Feb 08, 2012 at 06:32:46PM +0530, sukanya c wrote: I work for activesync application that use libcurl for client HTTP operations.   I noticed that during 10MB data upload, the peak memory consumption reaches more than 10MB. Have you tracked the source of this memory usage? Are you

Re: [Mageia-dev] Cannot compile LLVM/Clang under Mageia 1

2012-02-07 Thread Dan Fandrich
On Tue, Feb 07, 2012 at 10:43:31PM +0100, Thierry Vignaud wrote: On 7 February 2012 20:02, Thomas Lottmann skipercoo...@gmail.com wrote: https://bugs.mageia.org/show_bug.cgi?id=4179 I do need this compiler and think it can be useful for programmers. I thank you by advance for your help.

Re: [Mageia-dev] Adding a new license to rpmlint

2012-02-07 Thread Dan Fandrich
On Tue, Feb 07, 2012 at 11:06:00PM -0500, Juan Luis Baptiste wrote: I did a clean mga2 alpha3 install, updated it to cauldron, and just installed mgarepo, bm and warsow's spec BR and again it builds fine. arrgghhh I don't know why it fails on the BS !! the only thing I noticed comparing the

Re: pxe boot on busybox

2012-01-30 Thread Dan Fandrich
On Tue, Jan 31, 2012 at 09:21:02AM +0200, Eial Czerwacki wrote: I have a image using busybox 1.19.2 which I need it to boot a image from tftpboot server using pxe, does busybox supports it? if so, how can I perform this procedure? Are you trying to boot a device into a Busybox environment via

Re: libcurl PUT retry and READFUNCTION

2012-01-25 Thread Dan Fandrich
On Wed, Jan 25, 2012 at 02:34:12PM +, Wenjun Chen wrote: Thanks Dan for the response. No it is not on the stack. The same Um, that's not what the code shows. data is passed in the put_data_callback and the length is fine there (489 bytes), data is copied when put_data_callback is called.

Re: libcurl PUT retry and READFUNCTION

2012-01-25 Thread Dan Fandrich
On Wed, Jan 25, 2012 at 08:09:19PM +, Wenjun Chen wrote: This is the actual code. It uses local variable, not on stack. Where do you think local variables are stored? They are stored on the stack. But that should not be an issue in the code snippet you included. It may be an issue

Re: download an URL that is in an iframe

2012-01-25 Thread Dan Fandrich
On Wed, Jan 25, 2012 at 09:05:05PM +, rt wrote: I like to extract from a web-page a part with specific data, that is displyed in an iframe, The exemplary Javascript code-line is shown below: div id=iframeiframe id=iframeK name=iframeK src=https://bla.bla.ch/? locale=de scrolling=no

Re: libcurl PUT retry and READFUNCTION

2012-01-25 Thread Dan Fandrich
On Thu, Jan 26, 2012 at 01:27:53AM +, Wenjun Chen wrote: Thanks Dan for your help, the problem is as described in the first e-mail, I copied below again. That was so long ago, I'd forgotten :-) I then use SEEK_FUNC call back to get more info. See code after put_data_callback. The

Re: libcurl PUT retry and READFUNCTION

2012-01-24 Thread Dan Fandrich
On Wed, Jan 25, 2012 at 04:13:09AM +, Wenjun Chen wrote: The above code did not fix the problem. I added log message in call back funcgtions. The log output is as follows. 2012-01-24 22:59:22.000 (GMT-05:00) Write Data is 489 bytes 2012-01-24 22:59:22.000 (GMT-05:00) put_data_callback

Re: setup Issue with libssh2 libcurl and gcc

2012-01-20 Thread Dan Fandrich
On Thu, Jan 19, 2012 at 09:10:41PM +0100, maar...@goeiespullen.nl wrote: Again I burned two days getting libssh2 to work... Is there a simple manual/ how to. I simply can not get this to work. There are lots of man pages and example programs, but I'm not aware of a tutorial as such. After a

Re: setup Issue with libssh2 libcurl and gcc

2012-01-20 Thread Dan Fandrich
On Fri, Jan 20, 2012 at 04:06:43PM +0100, maar...@goeiespullen.nl wrote: Thanx for helping me out here. Without you help I can make it work. Offcource the 'make install' was my mistake in the email, I did this on the machie. Here the result so far: $

Re: Issue with content-type for no content body..

2012-01-17 Thread Dan Fandrich
On Tue, Jan 17, 2012 at 03:19:35PM +0530, sukanya c wrote: Thanks Dan for your timley reply. It worked as per your suggestion.   But with the previous mentioned scenario, I am stuck up at other place. For my request(with no content), server responds with some response, but libcurl is not

Re: Issue with content-type for no content body..

2012-01-16 Thread Dan Fandrich
On Tue, Jan 17, 2012 at 11:39:34AM +0530, sukanya c wrote: Exchange server expects no Content-Type Content-Length header fields if ther is no content body. Hence, I cannot set the content-type to wbxml, to avoid libcurl adding the default header.   Now my query is Why Libcurl adds the

Re: buffer gets lost

2012-01-14 Thread Dan Fandrich
On Sat, Jan 14, 2012 at 09:49:20AM -0200, Marco wrote: Hello again, my CURLOPT_WRITEFUNCTION function is working just fine to write on buffer with any HTML page, but when I try to do it with any XML page, it simply cut off the very beginning of the page. CURLOPT_WRITEFUNCTION is writer(char

Re: buffer gets lost

2012-01-13 Thread Dan Fandrich
On Fri, Jan 13, 2012 at 07:16:29AM -0200, Marco wrote: I'm having trouble with the page content retrieved when I use curl_easy_perform(curl);, basically, every time I try to get a page from a localhost, everything goes right, don't matter how big the page is. But when I try in any remove

Re: Empty HTTP POST request

2012-01-12 Thread Dan Fandrich
On Thu, Jan 12, 2012 at 08:02:12AM -0800, Max Burke wrote: I'm setting up a POST request with only a handful of fields and I've verified that the data pointers are valid, however it doesn't look like anything is actually being sent. Both Wireshark and the server logs show that the POST request

Re: static libcurl warnings

2012-01-12 Thread Dan Fandrich
On Thu, Jan 12, 2012 at 11:16:54PM +0100, Daniel Stenberg wrote: On Thu, 12 Jan 2012, Arthur Murray wrote: Is there anything I should be doing to get rid of the causes of these warnings so the binary is portable? I know they are only warnings, but are non-portable getpwuid and getaddrinfo

Re: [Mageia-dev] [RFC] Moving various packages/codecs to tainted

2012-01-11 Thread Dan Fandrich
On Wed, Jan 11, 2012 at 09:23:20PM -0500, David Walser wrote: andre999 wrote: However I do agree that we should put encoders that seem to be covered by valid patents in some countries in tainted. If we really want a hard and fast rule, I agree that this makes the most sense. If you

Re: [Mageia-dev] Signature verification of sources

2012-01-10 Thread Dan Fandrich
On Tue, Jan 10, 2012 at 08:00:35PM +0100, Johnny A. Solbu wrote: I think this is a good initiative. Does other distros do this? Perhaps we can ask other distros to start doing the same, and thus give upstream developers a reason for signing. I believe at least some source-based distros (e.g.

Sending in chunks

2012-01-09 Thread Dan Fandrich
On Mon, Jan 09, 2012 at 10:41:49AM +0530, Brad Mann wrote: By chunks I mean that I am sending the file in parts, i.e. chunks of 512 (as directed in the documentation) . I am using the following code:- That doesn't help any. chunks has a well-defined meaning in HTTP, but it doesn't sounds like

Re: Fwd: Downloaded File (.pdf) Corrupt

2012-01-09 Thread Dan Fandrich
On Mon, Jan 09, 2012 at 10:58:19AM -0500, Eric Belec wrote: Thank you for the reply. I've determined the scenario where Chrome/Firefox works where libcurl does not. If you look at the link - https://someserver/myfile123/12045%20%20GIECKE%20amp;%20DE%20CANADA%20Jan%2064%2072.pdf; you will

Re: small patch to fix android ndk build of busybox

2012-01-05 Thread Dan Fandrich
On Thu, Jan 05, 2012 at 03:06:06PM +, Hin-Tak Leung wrote: The error message was in the change-log, included in the patch: - libbb/lib.a(change_identity.o): In function `change_identity': change_identity.c:(.text.change_identity+0x28): undefined reference to `endgrent'

Re: Undefined macros in curl/curl.h

2012-01-05 Thread Dan Fandrich
On Thu, Jan 05, 2012 at 11:55:49AM +0100, Daniel Stenberg wrote: On Wed, 4 Jan 2012, Alex Vinnik wrote: curb_errors.c:169: error: ‘CURLE_OBSOLETE10’ undeclared (first use in this curb_errors.c:175: error: ‘CURLE_OBSOLETE12’ undeclared (first use in this Ouch. I never thought anyone would

Re: Undefined macros in curl/curl.h

2012-01-05 Thread Dan Fandrich
On Thu, Jan 05, 2012 at 07:26:53PM +0100, Daniel Stenberg wrote: More seriously though, we can make them survive better in some ways with this fix: @@ -520,6 +520,10 @@ typedef enum { #ifndef CURL_NO_OLDIES /* define this to test if your app builds with all the

Re: How does curl_easy_getinfo CURLINFO_CONTENT_LENGTH_DOWNLOAD work?

2012-01-05 Thread Dan Fandrich
On Thu, Jan 05, 2012 at 07:59:47PM +0100, Robin Vossen wrote: I have been hacking around with cUrl and I want to use it to download a page to the memory buffer. And I tried to do the following: [...] But it keeps saying Fail. My question would be, which part of the documentation did I

Re: Undefined macros in curl/curl.h

2012-01-04 Thread Dan Fandrich
On Wed, Jan 04, 2012 at 07:39:00PM -0600, Alex Vinnik wrote: Just tried to compile ruby binding (curb) to latest libcurl from bagder/curl and got these compilation error cc -I. -I. -I/home/alex/.rvm/rubies/jruby-1.6.2/lib/native/include/ruby -I. -DRUBY_EXTCONF_H=\curb_config.h\        -fPIC  

Re: Support for authentication DIGEST-MD5 for SMTP

2012-01-04 Thread Dan Fandrich
On Wed, Jan 04, 2012 at 03:40:07PM +0200, Gokhan Sengun wrote: That helps a lot Steve, thanks for the detailed info. I will let you know if I hit a rock during development :-) There was some talk on this list recently of adding SASL authentication, either to POP-3 or SMTP (I forget which).

Re: Weird telnet file handling

2012-01-04 Thread Dan Fandrich
On Wed, Jan 04, 2012 at 11:35:39AM +, Colin Hogben wrote: Add simple telnet tests which (ab)use the http server. :-) +keywords +TELNET +/keywords I'd add a -T or upload keyword to highlight what's being tested. +# Client-side +client +server +http +/server This needs a section:

Re: IPv6 example in docs section

2012-01-03 Thread Dan Fandrich
On Tue, Jan 03, 2012 at 11:51:11PM +0200, Gokhan Sengun wrote: Is it possible for someone having a good understanding on IPv6 to put an example in the docs section? That would ease and attract new commers trying to access libcurl's IPv6 capability and treatment. Just a thought. What kind of

Re: cannot find -lcurl

2011-12-30 Thread Dan Fandrich
On Fri, Dec 30, 2011 at 04:03:11PM +0800, Gabriel wrote: I think this problem maybe the tool I used to cross compile . So I changed to use gcc to compile the rtsp.c ,but another trouble frustrated me. rtsp.c: In function ¡®rtsp_options¡¯: rtsp.c:75: error: ¡®CURLOPT_RTSP_STREAM_URI¡¯

Re: [Mageia-dev] packaging savoir-vivre

2011-12-29 Thread Dan Fandrich
On Thu, Dec 29, 2011 at 10:25:14AM +0100, Maarten Vanraes wrote: What about svn lock? That would be pretty hard to ignore. true, but what if you are ill, have a heart-attack, or are away for a long time for various reasons? svn unlock --force Dan

Re: PNG Image resolution

2011-12-29 Thread Dan Fandrich
On Thu, Dec 29, 2011 at 10:29:44PM -0500, Robert Ingoglia wrote: I am very new to all of this, but if you fine folks would tolerate a â newbie,â I would be most appreciative. Welcome! To be very brief, I wrote my very first cURL script within a php file and uploaded it to my website:

Re: [Mageia-dev] packaging savoir-vivre

2011-12-28 Thread Dan Fandrich
On Wed, Dec 28, 2011 at 11:26:22PM +0100, Maarten Vanraes wrote: imho the best solution is that everyone checks if there's a maintainer for it and asks maintainer first... i mean, it's all nice that it's in the spec file, but i think people who bump, rarely look inside spec file... (not

Re: What is MCast server?

2011-12-27 Thread Dan Fandrich
On Tue, Dec 27, 2011 at 03:25:40PM +0800, lxh wrote: Hi, LibCurl return the infomaion: server: MCast server 0.1. What is MCast server? That's not a standard libcurl message. In what context are you seeing it? What protocal This type of server uses? Thanks! I have no idea. But, you can

Re: HTTP Request Trace whit Wireshark (hui)

2011-12-27 Thread Dan Fandrich
On Tue, Dec 27, 2011 at 09:11:38AM +0800, hui wrote: Could you tell me how to whatch http request by VLC with Wireshark? I run the VLC to play the stream ,then execute stastics-Http-Request in the Wireshark ,but it have no info! Thanks! You want to look at the actual HTTP request sent by

Re: PATCH: Improve output of curl's --libcurl option

2011-12-26 Thread Dan Fandrich
On Thu, Dec 22, 2011 at 04:36:43PM +, Colin Hogben wrote: The attached patches improve the output of curl's --libcurl option by generating code to build curl_httppost and curl_slist lists, and use symbolic names for enum and flag values. That sounds very useful. +#define

Re: HTTP Authentication failed!!

2011-12-26 Thread Dan Fandrich
On Tue, Dec 27, 2011 at 08:55:34AM +0800, hui wrote: Why my app can accept data from internet after return infomation * no chunk, no close, no size. Assume close to signal end ? It looks like libcurl doesn't abort. Thanks! This question has been answered twice so far. You've also been given

Re: [PATCH] Require a less ancient version of perl

2011-12-23 Thread Dan Fandrich
On Fri, Dec 23, 2011 at 11:53:34AM +, Colin Hogben wrote: I can't imagine any development platform is really still using perl4 these days, so I suggest conservatively moving the requirement forward to version 5.004 (from 1997). I can confirm that curl still builds and almost passes the

Re: Changing the reference in written cookie files

2011-12-23 Thread Dan Fandrich
On Thu, Dec 22, 2011 at 10:39:59PM +0100, Daniel Stenberg wrote: A while ago now there was an RFC published[*] that properly documents how cookies are used in modern HTTP and yet we still keep referring to the ancient Netscape spec in the header of the cookie files libcurl writes. What

Re: HTTP Authentication failed!! (hui)

2011-12-22 Thread Dan Fandrich
On Thu, Dec 22, 2011 at 04:44:53PM +0800, hui wrote: I have tried specifying HTTP/1.0 in the CURLOPT_HTTP_VERSION option ,but it also isn't work. What do I pay attention when using the Wireshark to see what a VLC request to this server? Watch the HTTP request that VLC sends. Compare that

Re: [PATCH] POP3: Expanded the supported commands

2011-12-21 Thread Dan Fandrich
On Wed, Dec 21, 2011 at 11:51:55AM +, Steve Holme wrote: I guess this could only be done if everything after the OK was sent through as body data but to be honest I don't think this is the right approach as a transfer would still be required for certain commands and not for others. The

Re: getty takes lot of time to throw Login promt

2011-12-20 Thread Dan Fandrich
On Tue, Dec 20, 2011 at 07:41:36PM +0530, Santosh Kumar wrote:           I am using buxybox 1.19.2. getty process takes about 1Min45secs (105secs) to throw Login prompt. Could you please suggest anychanges that can reduce this delay. in the inittab file i am using ::respwan:/sbin/getty -L

Re: Problem writting output to a file

2011-12-18 Thread Dan Fandrich
On Sun, Dec 18, 2011 at 06:58:22PM +0100, vicent roca daniel wrote: I'm trying to write the output of a command exectution using libssh2 to a file: Some code: /*** definitions, etc...***/ sprintf(filename, /tmp/.aom/%d-%s.json, epoch, host); filefinal = fopen(filename, w); /*

Re: [Mageia-dev] Issues with dracut

2011-12-16 Thread Dan Fandrich
On Sat, Dec 17, 2011 at 12:08:36AM +0100, JA Magallon wrote: If its is (d)ash: CMDLINE=$(cat /proc/cmdline) Or save two fork+execs this way, on dash or bash: read CMDLINE /proc/cmdline case ${CMDLINE} in * nokmsboot *) echo YES ;; esac if if uses bash:

Re: HTTP Authentication failed!!

2011-12-16 Thread Dan Fandrich
On Fri, Dec 16, 2011 at 07:11:18PM +0800, ÀèС»Ô wrote: I want to play Internet video whose url is http://etele:Xdr56tFc@89.147.64.204:/RtlKlub;. I have used curl_easy_setopt set CURLOPT_URL to http://89.147.64.204:/RtlKl, use CURLOPT_USERPWD set the username and password as

Re: [PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-15 Thread Dan Fandrich
On Thu, Dec 15, 2011 at 05:25:01PM +0100, Peter Korsgaard wrote: walter == walter harms wha...@bfs.de writes: walter Why not use strdupa() instead? Because I wasn't aware of it. I see we aren't using it anywhere in busybox today, how portable is it? According to the man page, it's not

Re: [PATCH] udhcpd static route support

2011-12-15 Thread Dan Fandrich
On Thu, Dec 15, 2011 at 10:57:19PM +, Michael McTernan wrote: + case OPTION_STATIC_ROUTES: { + char *bits; + + /* expect a.b.c.d/m format */ + bits = strchr(val, '/'); + if(!bits) { +

Re: [Mageia-dev] How broken are RPM dependencies allowed to be?

2011-12-14 Thread Dan Fandrich
On Tue, Dec 13, 2011 at 09:04:39PM -0500, Liam R E Quin wrote: It's really hard to test for dependencies like this, as the person building the package will have working versions of everything. It would be tricky, but entirely possible to be tested automatically. Worse, in two years' time,

Re: [Mageia-dev] How broken are RPM dependencies allowed to be?

2011-12-14 Thread Dan Fandrich
On Wed, Dec 14, 2011 at 09:49:15AM +0200, Buchan Milne wrote: This is unsupported. Maybe you should instead contribute documentation that makes this more explicitly obvious, but it is a well-known rule in Mandriva and Mageia (and usually applies to other distros as well). I can understand

Re: [Mageia-dev] How broken are RPM dependencies allowed to be?

2011-12-14 Thread Dan Fandrich
On Wed, Dec 14, 2011 at 12:31:36PM +0100, Thierry Vignaud wrote: On 14 December 2011 10:14, Dan Fandrich d...@coneharvesters.com wrote: I can understand that my particular case is unsupported, but I described a different, supported, scenario that would also fail due to this problem

Re: [Mageia-dev] pixmap

2011-12-14 Thread Dan Fandrich
On Wed, Dec 14, 2011 at 09:42:54PM +0100, jcc wrote: I have a problem with the icon of the application. First I tried to save the icon image in pixmap directory but no icon appears on the desktop menu bar. What does your .desktop file look like? Dan

[Mageia-dev] How broken are RPM dependencies allowed to be?

2011-12-13 Thread Dan Fandrich
I raised a bug ticket on drakxtools (#3731) because the RPM in Cauldron installs without complaints in Mageia 1 but won't work there because it requires a newer version of perl. The perl dependency in the RPM is listed as perl-base when it should really be something like perl-base = 5.14.2 (Mageia

Re: Libcurl returns timeout error when used from multiple threads, but not from a single thread

2011-12-13 Thread Dan Fandrich
On Wed, Dec 14, 2011 at 10:27:06AM +0400, Alex wrote: I'm using libcurl with C++. I have made a thread-safe class for downloading webpages. Each call to static download method creates easy handle, performs the job and frees the handle. When I use it from the single thread - everything's

Re: SFTP File already completely downloaded Problem

2011-12-12 Thread Dan Fandrich
On Mon, Dec 12, 2011 at 03:24:07PM -0500, Dan Hayes wrote: I am having the same problem as a few others who posted about receiving a File already completely downloaded message when attempting to download a file via SFTP.  My setup is as follows: OS: sunOS 5.10 $ curl --version curl

Re: [PATCH] POP3: Expanded the supported commands

2011-12-10 Thread Dan Fandrich
On Sat, Dec 10, 2011 at 01:59:09PM +, Steve Holme wrote: The first 5 patches are related to modifying pop3.c and pop3.h to include support for the following POP3 commands in addition to LIST and RETR: NOOP No Operation (Keep Alive) STAT Get Mailbox Statistics TOP Get TOP number of

Re: Failure to compile curl 7.23.1 with static ssl on Darwin

2011-12-09 Thread Dan Fandrich
On Fri, Dec 09, 2011 at 11:40:01AM -0500, Robert Banfield wrote: I think the preferred method though is to not specify -l flags, but instead to pass a static lib to gcc in the same form ../lib/.libs/libcurl.a is passed above, by just adding /path/to/libssl.a and /path/to/libcrypto.a to the gcc

Re: libssh2_channel_read() blocking in case of a background process

2011-12-08 Thread Dan Fandrich
On Thu, Dec 08, 2011 at 02:07:32PM +0530, anirudh nair wrote: Hi all, I need to execute a remote script as below //script begins- only psuedo_code some_process (as a background process) if (some_process is up) echo Application is running exit 1 else echo Application not started

Re: SFTP ideas and questions

2011-12-08 Thread Dan Fandrich
On Wed, Dec 07, 2011 at 02:01:37PM +0100, Ellié Computing Open Source Program wrote: I am working on a SFTP client based on libcurl, and am confronted to a few problems, I have also some questions. 1. I cannot get better times than the minutes because of the listing, however I know the

Re: Enhancing POP3 to support extra commands

2011-12-06 Thread Dan Fandrich
On Tue, Dec 06, 2011 at 08:35:54PM +, Steve Holme wrote: Hi Daniel, I would imagine you'd use -Q to do a full series of commands at once while connected. Like issuing a series of deletes or so. Okay - I'll leave that for a follow up patch as surely the URL would need to change for

Re: Enhancing POP3 to support extra commands

2011-12-06 Thread Dan Fandrich
On Tue, Dec 06, 2011 at 10:40:44PM +, Steve Holme wrote: Many thanks for the clarity but does that mean you could do: -Q 'DELE 5 6 7 8' to delete message 5, 6, 7 and 8 with a URL of pop3://mail.domain.com/5 ? Yes, you could specify that, and curl would happily send that command, but

Re: Enhancing POP3 to support extra commands

2011-12-01 Thread Dan Fandrich
On Thu, Dec 01, 2011 at 04:00:48PM +, Steve Holme wrote: I think style wise this is in line with the rest of libcurl and how it handles URLs (from the documentation I have written) but I would really appreciate any input on this before continuing. It makes sense, but surely some mailers

Re: Enhancing POP3 to support extra commands

2011-12-01 Thread Dan Fandrich
On Thu, Dec 01, 2011 at 05:17:04PM +, Steve Holme wrote: I have done a little research and couldn't really find anything... except RFC2384: http://tools.ietf.org/html/rfc2384 This specifies a format for URL based connection strings (including authentication) for pop3 but not message

Re: Problem authenticating with DSA key using SFTP and CURL

2011-11-30 Thread Dan Fandrich
On Wed, Nov 30, 2011 at 11:36:39AM -0800, Alvaro Palma wrote: 2.- Using RSA key: [16:31 alvarop@LOCAL_SERVER ~]% ~/bin/curl -v -T transfer.log sftp://REMOTE_SERVER/~ --key ~/.ssh/id_rsa --pubkey ~/.ssh/id_rsa.pub * About to connect() to REMOTE_SERVER port 22 (#0) * Trying 10.12.198.52...

Re: Problem authenticating with DSA key using SFTP and CURL

2011-11-29 Thread Dan Fandrich
On Tue, Nov 29, 2011 at 07:14:57AM -0800, Alvaro Palma wrote: But in the other hand, libCURL is not capable to use the RSA key. I made the test, remove temporarily the DSA key from ~/.ssh and the error changed: * About to connect() to REMOTE_SERVER port 22 (#0) * Trying 10.12.198.52... *

<    4   5   6   7   8   9   10   11   12   13   >