Why do I get the error, "the system cannot find the file specified" when I
used this line:

localFile =
"f:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\#name#

as part of this code:

<cfftp     connection   =   "lskdjf"
             action          =   "getFile"
             passive        =   "yes"
             remoteFile   =   "#name#"
             localFile      =
"f:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\#name#"
             failIfExists    =   "yes"
             timeout        =   "600000"
             stopOnError =   "yes">

It seems, based on the documentation, that localFile ought to be a file that
exists already on the local system.
However, that doesn't make a lot of sense.  There no way to know what the
file name will be.  And other uses
of cfftp getFile have allowed a variable...just name the same name as the
remoteFile.  I gave it a different name.

Can the localFile filename not be #name# ?

Rick


-- 
--------------------------------------------------------------------------------------------------------------------------------------------------
"Ninety percent of the politicians give the other ten percent a bad
reputation."  Henry Kissinger


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:322848
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