Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't put file into ram with secure ftp

Tags:

coldfusion

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">
like image 896
Scott Chantry Avatar asked Jan 27 '10 18:01

Scott Chantry


1 Answers

Adobe has confirmed this as a bug and has resolved it in ColdFusion 9.0.1

like image 89
Scott Chantry Avatar answered Nov 19 '22 04:11

Scott Chantry