Hi All,

It's been a long time since I've had to use CFFTP (CF5) so I may well be 
missing something but I seem to have come across a couple of things one of 
which, I consider to be a bug.

Firstly, the bug.

I need to download a large (600Mb) file, if I set the timeout value to 
something like 5 seconds for my connection then the tag times out after 5 
seconds rather than after 5 seconds of inactivity. There is a major difference 
here.

If I set the timeout to 30 seconds, I get about 45Mb down before the tag times 
out.
If I set the timeout to 300 seconds, I get about 450Mb down before the tag 
times out.

If I set the timeout to something silly, say 120000 seconds, the tag just hangs 
(I assume until the timeout is reached). (I know why this is).

If I set the timeout to something more reasonable, say 900 seconds, the tag 
does not return until the 900 seconds are up and I get the file :-).

CFFTP is hanging until timeout because of the config of the FTP server 
(something I cannot change as it's a 3rd party server). I've double checked the 
connection with standard FTP clients and they too hang at the end until their 
timeout is reached.

The difference between CFFTP and other FTP clients is that other FTP clients 
can have timeouts of say 5 seconds and only timeout after the entire file has 
been downloaded. Ideally this is what CFFTP should do and I'd consider it to be 
a bug if it did otherwise which it does.

Secondly, the annoying problem.

The server I'm connecting to requires a PASV connection from where I am. 
Ideally, I would like set this on the first connection and have CF track this 
in the connection structure that is created. It isn't. Every CFFTP call I make, 
I have to set passive="Yes". Until I dumped out the connection structure, I 
couldn't figure out why I wasn't even able to list a set of directories after 
the initial connection as I'd assumed that passive being an attribute of the 
connection would be carried through in the connection struct. This is not so. 
Annoying, fixable but shouldn't be there.

Paul



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303963
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to