You could try fooling with the timeout value in IIS (assumeing you are using
IIS) for the FTP server.

Mark

-----Original Message-----
From: Critz [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 09, 2002 5:40 PM
To: CF-Talk
Subject: CFFTP


oi CF-Talk!!

  I'm using CFFTP to login to a local ftp site to verify the users
  login password for a stats page.

  this is what I am using:

<cftry>
<cfftp action="OPEN" server="localhost"  username="#attributes.login#"
password="#attributes.pass#" stoponerror="Yes" port="6969" connection="ftp">
<cfset caller.auth = cfftp.succeeded>
<cfftp action="CLOSE" server="localhost"
username="#attributes.login#" password="#attributes.pass#"
stoponerror="Yes" port="6969" connection="ftp">
<cfcatch type="Any">
        <cfftp action="CLOSE" server="localhost"
        username="#attributes.login#" password="#attributes.pass#"
        stoponerror="Yes" port="6969" connection="ftp">
        <cfset caller.auth = false>
</cfcatch>
</cftry>

now if I connect using PHP the connection is made and closed
imediately, but with coldfusion. the connection seems to stay for up
to 10 seconds..... Is there any way I can get it to login/logoff
immediately?

--
Best regards,

Critter, MMCP
Certified ColdFusion Developer

Crit[s2k] - <CF_ChannelOp Network="EFNet" Channel="ColdFusion">


______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to