I am attempting to use CF 8 to connect to a secure FTP server. Based up
documents/web postings I believe that the following code should work but I am
getting a user authentication error. I can connect using CoreFTP or psFTP and
the same parameters from the web server.
<cfset objFTPProperties = {
Server = "ftp.server.com",
Port = "22",
Username = "username",
Password = "password",
secure="yes",
fingerprint="12:34:56:78:9a:bc:de:12:34:56:78:9a:bc:de:12:34"
} />
<cfftp
action="open"
connection="objConnection"
attributeCollection="#objFTPProperties#"
/>
<!--- Close the connection. --->
<cfftp
action="close"
connection="objConnection"
/>
Am I missing something? Does something else need to be configured/enabled to
allow CF to connect to a sercure FTP server.
Note: I have no issues at all connecting to our non-secure FTP server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324681
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4