House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

FTP GETFILE Read Timed Out Error

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi everyone,
patrick buch
09/05/08 05:06 P
Hi, Patrick...
Rick Faircloth
09/05/08 07:10 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
patrick buch
09/05/2008 05:06 PM

Hi everyone, I'm getting a timed out error when using cfftp action="GETFILE". I've tried and done the following: 1). Set IIS website and FTP site timeout time to 900 seconds 2). Used the attribute of timeout="900" in code shown below 3). Added ?timeout='900' in the URL 4). Tried adding timeout value on scheduled task and running that Any thoughts, directions, etc. would be greatly appreciated. ***** ERROR ****** An error occurred during the FTP GETFILE operation.   Error: Read timed out.   ***** CODE ****** <cfftp action="GETFILE" connection="***" remotefile="\inetpub\wwwroot\jbs\#name#" localfile="d:\saprepository\w1\#name#" failifexists="No" timeout="900" stoponerror="yes">       

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
09/05/2008 07:10 PM

Hi, Patrick... I've been working with cfftp recently and noticed it's been throwing an error (hanging and timing out) on a particular file.  I tried downloading it with a third-party ftp program (FileZilla) just to make sure the file wasn't corrupted.  It wasn't, so I'm not sure what the problem is. Perhaps downloading with FileZilla or something else like that will give some clues... Rick > Hi everyone, > > I'm getting a timed out error when using cfftp action="GETFILE". I've tried and done the following: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
09/05/2008 07:25 PM

This may seem really silly to ask, but how much time is elapsing before the timeout error? 900 seconds should be giving you 15 minutes. What happens when you try to download it with a regular FTP utility? If you check the server's network usage during the download, does it show incoming traffic? If you look at a stack trace, what is it doing while it downloads? Do you have any firewall settings that might be timing out TCP sessions? Are you using passive FTP? If you run netstat on the server while it is transferring, what ports do you see in use, and what is the status of the connection? If cfftp uses a temp directory to write files to, can you watch it and see if your temp file is growing during the transfer? (<cf_root>/runtime/servers/default/SERVER-INF/temp/wwwroot-tmp/ might be the location of the temp dir, but it's a guess) ~Brad

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Josh Nathanson
09/05/2008 07:33 PM

Maybe it took longer than 900 seconds?  How big is the file? -- Josh ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists