Thanks for bringing me back down to earth :-) .... I boiled down a script
containing
a few of the urls that usually fail on the getstore (please see below).

I observed the following when running it -

It takes minutes to process each getstore.
Each url does not always fail everytime.
When one does fail, the program exits (no rc or error msgs).
When I view the resulting images via a browser, the last one processed is
always a partial image.

My app has been in production for 4 months now processing thousands of
images from many locations (quickly and acurately).
I have only seen it behave this way when processing images from the
auctions.goto.com site (and only select images fail)

I would definitly appreciate it if a few folks could give it a try on
their platforms and let me know what you see.
I contract with a web hosting company, WebsiteProviders. My "virtual
server" is running SUN OS 5.7 with an Apache 1.1.3 web server.

Any assistance is most appreciated !
Steve Borruso

Here's the script -

#!/usr/bin/perl -w
use LWP::Simple ;

$savepicdir = "/Your_Save_Dir_Here/";       # Add your directory for the
output images here

$u1='http://images.auctions.goto.com/Sell/SSProfiles/10011921/Images/joescat.jpg';

$u2='http://images.auctions.goto.com/Sell/SSProfiles/10011921/Images/BBN7a.JPG';

$u3='http://images.auctions.goto.com/Sell/SSProfiles/10011921/Images/swarPig.JPG';

$u4='http://images.auctions.goto.com/Sell/SSProfiles/10011921/Images/blueCathedralA.JPG';

$u5='http://images.auctions.goto.com/Sell/SSProfiles/30027867/Images/5715zam.jpg';

$u6='http://images.auctions.goto.com/Sell/SSProfiles/30027867/Images/bigmargar.jpg';

@Urls =($u1,$u2,$u3,$u4,$u5,$u6);

for($i=0; $i < $#Urls + 1 ; $i += 1){
   print "fetching $Urls[$i] \n";
   $getrc = getstore($Urls[$i], $savepicdir . $i . '.JPG');      #   This
should create images 0.JPG, 1.JPG, etc.
   print "rc from getstore is $getrc \n";
}



Scott Gifford wrote:

> Steve Borruso <[EMAIL PROTECTED]> writes:
>
> > Can someone please point me to someone who can help me solve the
> > problem below.  I'm loosing customers daily. I've appended this
> > problem several times now with no takers.
>
> Why don't you get your script down to just a couple lines that
> demonstrate the problem (ie, a 5-line script that just gets one of the
> problem images with LWP and stores it into a file), and post it here.
> Then maybe somebody could see your error, or see whether the problem
> exists on their platform.
>
> The simpler your script, the more likely somebody will take the time
> to poke at it.
>
> -----ScottG.

Reply via email to