It wont even list. The code connects fine to the FTP server
but as soon as I try to do the LISTDIR command it just times out From: I do it differently, but it
should work on cf 7
<cftry>
<cfftp name="dirList" connection="ftpConnection"
action="" directory="#arguments.folder#" />
<cfloop query="dirList">
<cfif isDirectory>
<cfset expandFolder(arguments.ftpConnection, fixPath(path,
"folder")) />
<cfelse>
<cfset arrayAppend(this.fileList, path) />
</cfif>
</cfloop>
<cfcatch type="any">
<cfset arrayAppend(this.result.errors, arguments.folder) />
</cfcatch>
</cftry> From http://dale.fraser.id.au/blog/index.cfm/2006/7/25/FTP-Sync-Component-100 From: Has
anyone used CFFTP on CF7 yet? I
have this code and it works fine on CFMX6.1 but fails on CF7.2 <cfftp action = "">
username = "anonymous"
connection = "My_query"
password = "wsftp65@"
server = "ftp.adobe.com"
stopOnError = "Yes"> <p>Did
it succeed? <cfoutput>#cfftp.succeeded#</cfoutput> <p>List
the files in a directory: <cfftp action = "">
stopOnError = "Yes"
name = "ListFiles"
directory = "/"
connection = "my_query"> <cfoutput
query = "ListFiles">#name#<br></cfoutput> Has
anyone else come across this? Steve
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [cfaussie] Re: CFFTP on CF7 Steve Onnis
- [cfaussie] Re: CFFTP on CF7 Dale Fraser
- [cfaussie] Re: CFFTP on CF7 Steve Onnis
- [cfaussie] Re: CFFTP on CF7 Dale Fraser
- [cfaussie] Re: CFFTP on CF7 Darren Tracey
- [cfaussie] Re: CFFTP on CF7 Darren Tracey