Hi, would anyone know how to get around the MODE problem return by cfdirectory or 
cfftp when listing a directory? I'm working on a a Solaris box, and need to transfer 
files from one server to another server. The problem is I'm using a recursive means to 
reconstruct the directory tree on the destination server to match the directory tree 
of the source server and the only means to do that is to traverse of each individual 
directory. This poses a slight problem cause a statement such as <cfdirectory 
action="LIST" directory="#attributes.pFROM_DIRECTORY#" name="pFROM_TREE" sort="Name" > 
<cfloop index="i" from="1" to="#pFROM_TREE.RECORDCOUNT#"> <cfif pFROM_TREE.TYPE EQ 
"Dir" AND Left(Right(pFROM_TREE.MODE,3),1) EQ 4> <!---- rwxrwxrwx = '421421421' ---> 
<!--- traverse tree ---> ... doesn't work, the MODE attribute is empty and I can not 
test whether the directory is read only or not. If its read only and i try to traverse 
it, it gives me an error msg saying directroy is not readable can anyone give us some 
ideas on how to overcome this? cheers 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183213
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to