On Mon, Jul 20, 2009 at 9:23 AM, Hunsaker, Michael Scott<mhuns...@indiana.edu> wrote: > > #getdirectoryfrompath(expandpath('*.*'))# > > That returns the same thing. However, when I use the function above as the > "destination" in the CFFILE function, it returns an error. The error says: > > "The value of the attribute destination, which is currently > G:\Inetpub\wwwroot\, is invalid." > > For some reason it adds a comma at the end of the physical path but I can't > figure out why. Any ideas? I would appreciate any help.
What others said, the comma is part of the error message, not the value. Can we see the full CFFILE? You probably need a filename there, not a directory path. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4