JP Vossen on 30 Dec 2007 18:47:49 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] curl error


> Date: Sat, 29 Dec 2007 15:41:22 -0500
> From: Eric <eric@lucii.org>
> 
> I'm using the curl command in a bash script to transfer some files from an ftp
> server to a database/web server.   Occasionally, the file is about 1/2 received
> when the download stops and curl just keeps on counting.... sometimes for days.
> 
> Besides a --max-time 600 option to stop the runaway aspect of this how do I
> start to find out what's causing it?  I do know 2 things:
> 
> 1. The ftp server is on a Microsoft server:
> 
> 220 tftp2 Microsoft FTP Service (Version 5.0).
> 331 Password required for User.
> 230 User User logged in.
> Remote system type is Windows_NT.
> 
> 2. The day that this happens is the busiest day of the month.

I don't recall seeing this (wild guess) in any of the other replies. 
What about a firewall problem?  I've seen cases where I FW will time-out 
a connection (more-or-less idle SSH in my case) such that it's dead and 
won't work, but the client isn't totally aware of that and thinks it's 
still here.

I admit this is a long shot, given that the the x-fer traffic *should* 
act as a keep-alive.  Then again, it's M$ and you said it's on busy days 
when things take a while.  Just a thought....

Later,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|        jp{at}jpsdomain{dot}org
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
Microsoft has single-handedly nullified Moore's Law.
Innate design flaws of Windows make a personal firewall, anti-virus
and anti-malware software mandatory. The resulting software arms race
has effectively flattened Moore's Law on hardware running Windows.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug