Skip to main content
Participant
August 20, 2007
Question

CF8 FTP Error - Read Timed Out

  • August 20, 2007
  • 2 replies
  • 1231 views
The following code that produces an error in CF8, but works fine in CF7:

<cfftp action="open" connection="test" server="***" username="***" password="***">
<cfftp connection="test" action="getFile" failifexists="no" remotefile="/remoteFile.zip" localfile="#expandPath('theFile.zip')#" timeout="3600">

The error is "read timed out". Also worth mentioning... the file downloads successfully, but I can't delete it. When I try to delete it I get an error that says it's in use by another program.

Specs: ColdFusion 8, Windows, IIS 6

Any ideas?
This topic has been closed for replies.

2 replies

Known Participant
November 6, 2007
A direction found on :
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:53593

Set a long timeout in the "connection open" tag.

Don't know if it's luck, but it solved my problem at the moment I tried (few minutes ago)... so give it a try.

I'll post in few days to tell if it's just luck or if it's really the solution
Known Participant
October 5, 2007
same problem here with a putfile operation (with an 8mb zip file)