I am using the following code to ftp files from my cf app to another server
cfftp connection = imediatestconn
username = #un#
password = #pw#
passive = yes
timeout=180
server = #server#
directory=Pages
action = putfile
You need to have the full path in the remotefile attribute
So you might have
remotefile=/subfolder/#building_name#_#unit#_gallery.txt
Steve
-Original Message-
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of SAMARIS Software
Sent: Wednesday, 28 January
You can put the directory name as part of the remotefile attribute of
the cfftp tag.
eg. remotefile=/pages/#building_name#_#unit#_gallery.txt
The directory attribute is for other cfftp actions
On Jan 28, 12:49 pm, SAMARIS Software rai...@ozemail.com.au wrote:
I am using the following code to
remotefile=pages/#building_name#_#unit#_gallery.txt
Paul.
-Original Message-
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of SAMARIS Software
Sent: Tuesday, January 27, 2009 8:49 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] CFFTP Put files to sub
In between opening the connection and uploading the file you can use the
changedir 'action':
cfftp connection = imediatestconn
action = changedir
directory = Pages
B)
SAMARIS Software wrote:
I am using the following code to ftp files from my cf app to another server
cfftp connection
Hi Steve
Have tried that as you suggested before sending the post
when I had the full path it simply ands the path to the from of the filename
and placed the file in the root directory
the server I an ftp'ing to is running unix
Regards
Claude Raiola
B.Econ (Acc), B.Hot.Mngt.
Websites: