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: www.AustralianAccommodation.com www.SAMARIS.NET www.WebSiteSolutions.com.au Mobile: 0414 228 948 -----Original Message----- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Wednesday, 28 January 2009 11:56 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CFFTP Put files to sub directory 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 2009 12:49 PM To: cfaussie@googlegroups.com Subject: [cfaussie] CFFTP Put files to sub directory 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" localfile="D:\FTP\Austaccomm\Htdocs\samaris\pnr\pages\bca_#building_name#_#u nit#_gallery.txt" remotefile="#building_name#_#unit#_gallery.txt"> The files are uploading to the server however they are being placed in the root directory when I want to have them placed into a specific sub directory called /pages can someone enlighten me as to what I need to do to be able to upload to the sub directory rather than the room directory Regards Claude Raiola B.Econ (Acc), B.Hot.Mngt. Websites: www.AustralianAccommodation.com www.SAMARIS.NET www.WebSiteSolutions.com.au Mobile: 0414 228 948 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---