Daniel Stenberg | 1 Jan 20:13 2006
Picon

Re: Proxy support

On Wed, 28 Dec 2005, Varuna Bamunusinghe wrote:

> I want to connect to http server using CUrl through a socks proxies. But I 
> don't think there's socks4 support and when I try to connect to socks4 with 
> socks5 option set, it crashes.
>
> The problem is I guess because, handlesock5 function at url.c processes the 
> proxy even it returns failure (non zero on the second byte of response). So 
> will it be ok to just delete the section and recomplile it?

I don't know, does it work with socks4 proxies if you do so?

To me it sounds like you just remove the crash reason, but it would still 
return an error...

The SOCKS support in libcurl is lacking in several aspects, as mentioned many 
times before.

--

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

Daniel Stenberg | 2 Jan 11:19 2006
Picon

Re: Hi!

On Fri, 30 Dec 2005, Herpreet  wrote:

Using HTML in posts here is not nice:

 	http://curl.haxx.se/mail/etiquette.html#html

> I am using curl to access http://tweb33.web.aol.com:8020
> which redirects me to https://tweb33.web.aol.com:8463/_cqr/login/login.psp?mcState=initialized&sitedom
> ain=tweb33.web.aol.com&lang=en&locale=us&authLev=2

> when i run it with curl -Lhttps://tweb33.web.aol.com:8463/_cqr/login/login.psp?mcState=initialized&sitedom
> ain=tweb33.web.aol.com&lang=en&locale=us&authLev=2

> i get missing sitedomain error although its there in URL. can anyone suggest 
> whats wrong here

1. You must have a space after the -L option

2. You probably must enclose that URL within quotes

3. You probably want to use -L on the original URL and let it follow the
    redirect from there.

4. You might need cookies enabled for it to work.

--

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Pierre | 2 Jan 14:19 2006
Picon

Re: Hi!

Just my 2 cents : he is using AOL messaging , so have NO choice

Daniel Stenberg wrote:
> On Fri, 30 Dec 2005, Herpreet  wrote:
> 
> Using HTML in posts here is not nice:
> 
>     http://curl.haxx.se/mail/etiquette.html#html
> 
>> I am using curl to access http://tweb33.web.aol.com:8020
>> which redirects me 
>> to https://tweb33.web.aol.com:8463/_cqr/login/login.psp?mcState=initialized&sitedom 
>>
>> ain=tweb33.web.aol.com&lang=en&locale=us&authLev=2
> 
> 
>> when i run it with curl 
>> -Lhttps://tweb33.web.aol.com:8463/_cqr/login/login.psp?mcState=initialized&sitedom 
>>
>> ain=tweb33.web.aol.com&lang=en&locale=us&authLev=2
> 
> 
>> i get missing sitedomain error although its there in URL. can anyone 
>> suggest whats wrong here
> 
> 
> 1. You must have a space after the -L option
> 
> 2. You probably must enclose that URL within quotes
> 
(Continue reading)

Daniel Stenberg | 2 Jan 14:29 2006
Picon

HTML mails (was Re: Hi!)

On Mon, 2 Jan 2006, Pierre wrote:

> Just my 2 cents : he is using AOL messaging , so have NO choice
>
> Daniel Stenberg wrote:
>> On Fri, 30 Dec 2005, Herpreet  wrote:
>> 
>> Using HTML in posts here is not nice:
>>
>>     http://curl.haxx.se/mail/etiquette.html#html

If someone uses a tool or service that FORCES him/her to use HTML mails, then 
I suggest he/she 1) changes provider or 2) stops posting to the curl mailing 
lists.

--

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

Doug McNutt | 2 Jan 18:13 2006

Re: Hi!

At 14:19 +0100 1/2/06, Pierre wrote:
>Just my 2 cents : he is using AOL messaging , so have NO choice (about HTML formatting)

How about a site that will accept curled uploads of plain ASCII text for the mailing list?

Has anyone tried scripting curl to access an SMTP port,  with appropriate login authorization, to deliver a
properly formatted e-mail to cool.haxx.se? I suppose it would have to be telnet but. . .

--

-- 
-->  There are 10 kinds of people:  those who understand binary, and those who don't <--

Lars Nilsson | 3 Jan 01:07 2006
Picon

Re: Hi!

z

On 1/2/06, Doug McNutt <douglist <at> macnauchtan.com> wrote:
> At 14:19 +0100 1/2/06, Pierre wrote:
> >Just my 2 cents : he is using AOL messaging , so have NO choice (about HTML formatting)
>
> How about a site that will accept curled uploads of plain ASCII text for the mailing list?
>
> Has anyone tried scripting curl to access an SMTP port,  with appropriate login authorization, to deliver
a properly formatted e-mail to cool.haxx.se? I suppose it would have to be telnet but. . .

http://members.aol.com/adamkb/aol/mailfaq/imap/

Lars Nilsson

steve westinghouse | 4 Jan 04:31 2006
Picon

url

here is the url that I am trying to give to curl via command line.
 
/ESD20/JSCDL/jdk/1.5.0_06/jdk-1_5_0-doc.zip?AuthParam=1136326505_767ee1c5f15cfadefb8c8fc789ec792b&TUrl=EMr8DPgljlCngjJlNnNDcFaPvU3tT+IO859ZF2EwLi4b1e0IkW/TF/LVaA==&TicketId=dlV8PANPM+8z/Q==&GroupName=SDLC&BHost=sdlcweb8a.sun.com&FilePath=/ESD20/JSCDL/jdk/1.5.0_06/jdk-1_5_0-doc.zip&File=jdk-1_5_0-doc.zip HTTP/1.1
 
This url is from sun's java download. The url is only for use once and the server will reject if second download attempt is made. Since this is a long url and changes every time for a fresh download, this url was obtained from sniffer logs.
 
So how does one give such an url to curl ? ofcourse the prefix to the url above is the des tination IP address. (which is not shown in sniffer logs for http layer, since above url ! is directly as seen from sniffer).
 
If some one has worked with such urls before and how to give it to curl or would know if there are any special characters which are to be taken care of before giving it to curl.
 
 
Thanks

Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
June Qiu | 4 Jan 04:45 2006
Picon

Advice on curling a itrc.hp.com page

Hi,
 I am having some trouble curling in the page. Keeps being redirected. My curled results indicate that page has moved, but when i click the new new address, it is usually that of the curled address. Would appreciate any help given:
 

Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Dan Fandrich | 4 Jan 05:43 2006

Re: url

On Tue, Jan 03, 2006 at 07:31:23PM -0800, steve westinghouse wrote:
> here is the url that I am trying to give to curl via command line.
>  
> /ESD20/JSCDL/jdk/1.5.0_06/jdk-1_5_0-doc.zip?AuthParam=
> 1136326505_767ee1c5f15cfadefb8c8fc789ec792b&TUrl=
> EMr8DPgljlCngjJlNnNDcFaPvU3tT+IO859ZF2EwLi4b1e0IkW/TF/LVaA==&TicketId=
> dlV8PANPM+8z/Q==&GroupName=SDLC&BHost=sdlcweb8a.sun.com&FilePath=/ESD20/JSCDL/
> jdk/1.5.0_06/jdk-1_5_0-doc.zip&File=jdk-1_5_0-doc.zip HTTP/1.1
>  
> This url is from sun's java download. The url is only for use once and the
> server will reject if second download attempt is made. Since this is a long url
> and changes every time for a fresh download, this url was obtained from sniffer
> logs.

What you gave above isn't a URL.  It may very well be that your conversion
of the above string to a URL may be the issue.

> So how does one give such an url to curl ? ofcourse the prefix to the url above
> is the destination IP address. (which is not shown in sniffer logs for http
> layer, since above url ! is directly as seen from sniffer).

You assumption that the URL hostname is the same as the IP address may be
incorrect.  You may need to use the hostname instead of the numeric IP
address in the URL, since the HTTP Host: header will be different for each
and the server may be configured for virtual hosts and reject the numeric
version.

> If some one has worked with such urls before and how to give it to curl or
> would know if there are any special characters which are to be taken care of
> before giving it to curl.

You never said what OS and shell you're using, as that determines what
characters are special.  For the URL above, enclosing the URL in double
quotes should be sufficient in the common cases.

>>> Dan
--

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved

Dan Fandrich | 4 Jan 05:45 2006

Re: Advice on curling a itrc.hp.com page

On Tue, Jan 03, 2006 at 07:45:13PM -0800, June Qiu wrote:
> Hi,
>  I am having some trouble curling in the page. Keeps being redirected. My
> curled results indicate that page has moved, but when i click the new new
> address, it is usually that of the curled address. Would appreciate any help
> given:
>  
> http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=hpuxSecurityMatrix

Are you enabling cookies?  Are you limiting the number of redirections? Both
those look like they could affect your results.

>>> Dan
--

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved


Gmane