coldfusion cfftp timeout

3.1k views Asked by At

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

There are 1 answers

1
Mitch Wheat On BEST ANSWER

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)