Hi All,

Well my issue has NOTHING to do with the cfincludes. If I put 2 sets of open 
and close FTP sessions it bombs. Any ideas?

<cfftp action = "open"
   username = "anonymous"
   connection = "myFTPConnection"
   password = "[EMAIL PROTECTED]"
   server = "ftp.comp.com"
   stopOnError = "Yes">

<pre>
FTP 1: Open FTP Connection, Did it succeed? 
<cfoutput>#cfftp.succeeded#</cfoutput><hr />
</pre>

<cfftp action = "close" connection = "myFTPConnection" stopOnError = "Yes">

<pre>
FTP 2: Close FTP 1 Connection, Did it succeed? 
<cfoutput>#cfftp.succeeded#</cfoutput><hr />
</pre>

<cfftp action="open"
    connection="mySFTPConnection_2"
    username="#UID#"
    password="#IPC#"   
    port="22"
    timeout="3000"
    retryCount="2"
    server="#HOST_NAME#"
    secure="yes"
    stopOnError="YES">
    
<pre>
FTP 3: Open SFTP Connection, Did it succeed? 
<cfoutput>#cfftp.succeeded#</cfoutput><hr />
</pre>

<cfftp action = "close" connection = "myFTPConnection_2" stopOnError = "Yes">

<pre>
FTP 4: Close SFTP 3 Connection, Did it succeed? 
<cfoutput>#cfftp.succeeded#</cfoutput><hr />
</pre>

CF ERROR: Pointing to the 2nd opening SFTP connection

"An error occurred while establishing an FTP connection."

-Jim





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289606
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