To my knowledge, there's no automatic sorting built in, so I'd look at
using query of query.  I.e.,


<cfftp action="">     server="999.999.99.999"
    stoponerror="yes"
    username="username"
    password="password"
    retrycount="2"
    timeout="4000"
    name="image"
    directory="/asdf/asdf/">


<!--- sort by file size (length) --->
<cfquery dbtype="query" name="imageSorted">
    select * from image
    order by length
</cfquery>


-----Original Message-----
From: Greg Landers [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 1:40 PM
To: CF-Talk
Subject: Ordering/Sorting CFFTP Results with "listDir" Action


Does anyone have a suggestion on how to sort the results of
CFFTP with
an action of  "listDir" ??

<cfftp action="">     server="999.999.99.999"
    stoponerror="yes"
    username="username"
    password="password"
    retrycount="2"
    timeout="4000"
    name="image"
    directory="/asdf/asdf/">

Thanks,
- Greg
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to