Can't put file into ram with secure ftp
coldfusion
Solution
Adobe has confirmed this as a bug and has resolved it in ColdFusion 9.0.1
Problem
I'm using coldfusion 9 and I'm trying to grab a file from an ftp site and load it into ram instead of the filesystem. If I try it using a secure ftp connection, it fails with this error: An error occurred during the sFTP getfile operation. Error: C:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\ram:\test.txt (The filename, directory name, or volume label syntax is incorrect). Check for a bad path, filename, or directory. If I try the same thing with a non secure ftp site it works just fine. Here is the code: ``` <cfftp action = "open" username = "xxxxx" connection = "My_query" password = "xxxxxxx" server = "ftp.xxxxxx.com" port="13266" secure = "true" stopOnError = "Yes"> <cfftp action="getfile" connection="My_query" remoteFile="/something.txt" stopOnError="true" localfile="ram://test.txt"> ```