1
votes

I need to FTP a file to a server and the file is about 30 MB, in my code, I have defined the timeout:

cfsetting requesttimeout="3000"

and

cfftp action="open" connection="objConnection" timeout="3000" .......

But it still timeout when running.

I am using CF8

Any idea are welcomed, thanks in advance.

This is what I got: An error occurred during the FTP putfile operation. | Error: putfile operation exceeded timeout.

1
3000 seconds = 50 minutes. That means less than 10K/s transfer rate. Are you sure its really a timeout issue? - Mitch Wheat
Hi Mitch, it takes me about 30mins to FTP the whole file, drag and drop, and it works fine. - leonjoho
and how is that in conflict with my answer below? - Mitch Wheat

1 Answers

0
votes

What version of ColdFusion (plus cumulative update) do you have?

There were reports of a bogus timeout error (even though operation completes) in previous CU's.

Try placing the timeout parameter in the getfile (or whatever the equivalent sendfile is) operation (instead of the open operation as the CFML Reference instructs)