leonjoho
leonjoho

Reputation: 47

coldfusion cfftp timeout

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.

Upvotes: 1

Views: 3253

Answers (1)

Mitch Wheat
Mitch Wheat

Reputation: 300579

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)

Upvotes: 0

Related Questions