> My goal is to have an internal Intranet site where users can > 2 upload files to some internal servers (to replace a manual > process we currently do for them). We're using IIS 6, and CF > 7. The problem is that this CF server is hosting a lot of > existing sites, and we've got it setup to use the local > system account, and the other guys on my team are loath to > change that to a domain account because of all the other > sites. So cffile won't work, because the local system > account doesn't have access to the remote shares. > > I do have a domain account that we could use, but I'm not > sure how to do it. We thought about setting up a virtual > directory in IIS, and use the domain account for the > authentication. This seems to work in IIS (I can see the > files on the remote share), but I can't figure out how to > write to it using CF. I've tried using cfhttp method=put, > with cfhttpparam type=file, but that doesn't work.
I'm not exactly sure what you're trying to accomplish with CFHTTP. Would this happen after the user has uploaded a file locally? If my guess is correct, what kind of response do you get when you use CFHTTP? Presumably, you get an error message? You should be able to use CFHTTP METHOD="PUT" with CFHTTPPARAM TYPE="FILE". Are you sure you can write to the remote share using WebDAV at all? Have you tested this? As an alternative to this approach, which seems a bit ugly, why not use something else to get files from the local drive to the remote share? A scheduled task, or a watched directory, etc? If you're running CF in the multiserver configuration, you could even use a separate CF instance just for this, with the appropriate security context for that instance only. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263785 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

