Can I not use the name variable in cfftp getFile action?

2009-05-27 Thread Rick Faircloth
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

Re: Can I not use the name variable in cfftp getFile action?

2009-05-27 Thread Rob Parkhill
Rick, I have one that is similar however, I have it like so: cfftp connection=lskdf action=getfile remotefile=#currentdir#/#name# localfile=#localfile# transfermode=binary timeout=30 retrycount=3 stoponerror=no failifexists=no where above the cfftp, I set the Local file to g:/DailyFile/ #name#

Re: Can I not use the name variable in cfftp getFile action?

2009-05-27 Thread Ryan Letulle
Can't comment on using name but I do use localfile and remotefile for my variable names. I cfset them with the entire path before using the cfftp tag. (i.e cfftp localfile=#localfile# ... I was just doing this about 10 minutes ago. -- Ryan On Wed, May 27, 2009 at 8:34 PM, Rick Faircloth

Re: Can I not use the name variable in cfftp getFile action?

2009-05-27 Thread Rick Faircloth
Thanks for the replies, Rob Ryan... I found out what the issue was...it wasn't the use of the #name# variable. I had the wrong directory for the remote file. Actually I didn't specify a directory in the getFile operation, because I thought by logging in to the appropriate directory for the