curl-users
RE: Is --ftp-retry a good idea?
From: James Smith <james_at_discs.uk.com>
Date: Thu, 28 Oct 2004 10:34:55 +0100
Date: Thu, 28 Oct 2004 10:34:55 +0100
Like your signature, I ported it to ColdFusion to run it myself and
unfortunately CF lacks a foreach so the code is a little more cumbersome,
however
<cfscript>
numList = "13,10,60,47,98,117,115,104,62,13,10,10";
for (i=1;1 lte listlen(numList);i=i+1){
Character = ListFirst(numList);
numList = ListRest(numList);
writeoutput(htmleditformat(chr(Character)));
}
</cfscript>
Produces the output you are after.
-- Jay > -----Original Message----- > From: curl-users-bounces_at_cool.haxx.se > [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Walt Pawley > Sent: 27 October 2004 23:19 > To: curl tool talk > Subject: Re: Is --ftp-retry a good idea? > > On 10/26/04 1:40 PM +0200, Daniel Stenberg wrote on Is > --ftp-retry a good idea? > > >Is this a good idea? I honestly can't think of many drawbacks ... > > I can think of one - it's just more code and more crap to > wade through if you're trying to figure things out. I much > prefer the KISS principle. > > FWIW: from my perspective wget and curl are two way different > animals and I like it that way. Misapplication of software is > not the software's fault. > > -- > perl -e 'foreach(qw/13 10 60 47 98 117 115 104 62 13 10 > 10/){print chr($_)};' > > Walter M. Pawley <walt_at_wump.org> > Wump Research & Company > 676 River Bend Road, Roseburg, OR 97470 > 541-672-8975 >Received on 2004-10-28