|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
FTP GETFILE Read Timed Out Error
Hi everyone,patrick buch 09/05/08 05:06 P Hi, Patrick...Rick Faircloth 09/05/08 07:10 P This may seem really silly to ask, but how much time is elapsing before theBrad Wood 09/05/08 07:25 P Maybe it took longer than 900 seconds? How big is the file?Josh Nathanson 09/05/08 07:33 P 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"> 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 ----- 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 Maybe it took longer than 900 seconds? How big is the file? -- Josh ----- Excess quoted text cut - see Original Post for more -----
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||