Are you sure you're making the connection?  Does it work when everything
is valid?  If not, the very first thing I'd do is test by using an FTP
client and see if you can connect and log in.  Then, I'd hard code the
server address, username, password, etc. to see if you can do it from
CF.

Depending on the speed of other server and the network connection
between the servers, your timeout may be too low.  Can't hurt to test it
with a larger value.

At least for troubleshooting, try it with STOPONERROR = "No".  Then test
the values CFFTP.Succeeded, CFFTP.ErrorCode, and CFFTP.ErrorText to see
if you can get more detail about the error that's occurring.  You may
want to keep this change for your production code as well, and handle
error situations in your code.  It's a pain, but can make for a more
robust application.

Jim


-----Original Message-----
From: Matt Lewis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, August 19, 2000 9:54 PM
Subject: Help with CFFTP


>When I try using CFFTP to initially connect to an FTP Server but the
userid
>or password is invalid, all I'm getting is a timeout on the CF page
>and no error returned via CFFTP.
>
>Here's the code I'm using to call CFFTP to attempt the login:
>
> <CFFTP ACTION="open"
> USERNAME="#FORM.FtpUID#"
> CONNECTION="FtpConn"
> PASSWORD="#FORM.FtpPWD#"
> SERVER="#FORM.FtpIP#"
> TIMEOUT="10"
> STOPONERROR="Yes">
>
>Any pointers or ideas from folks on things to try?  I've already tried
>wrapping the CFFTP call in a CFTRY/CFCATCH, but to no avail.
>
>Thanks.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to