Re: Accessing Sharepoint file
Hi dave, Thanks for your prompt response, but I am not able to test the scenario, can you tel me some wht detailed? All I need to do is to get the sharepoint document into our local using CF. Thanks, Vamsi Hi, My mission is to copy the file directly from a sharepoint directory (which can only be accessed through url path like http://sharepointserver/docs/getfile.doc) into the coldfusion application server path (defined by mapping) Issue is I tried using the cffile tag for it but I guess cffile doesn't handle the url path like (http://sharepointserver/docs/getfile. doc), so I went with cfhttp to resolve the url and get the content. I am able to pass through all the syntax issues but it gives me an error saying you are not authenticated, actually there are no credentials set on the sharepoint server even though it gives me with the error message. I'd appreciate if any one has a solution for this? Thanks Regards, Vamsi ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311801 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Accessing Sharepoint file
Are you sure that SharePoint when going to the URL via the browser is not picking up the user already being authenticated? If using IE typically SharePoint will see who you are but if using FireFox I believe it always prompts to authenticate, so that might be something to test out because it could explain why the CFHTTP is failing to authenticate. On Fri, Aug 29, 2008 at 1:20 PM, Vamsi Pappu [EMAIL PROTECTED] wrote: Hi dave, Thanks for your prompt response, but I am not able to test the scenario, can you tel me some wht detailed? All I need to do is to get the sharepoint document into our local using CF. Thanks, Vamsi Hi, My mission is to copy the file directly from a sharepoint directory (which can only be accessed through url path like http://sharepointserver/docs/getfile.doc) into the coldfusion application server path (defined by mapping) Issue is I tried using the cffile tag for it but I guess cffile doesn't handle the url path like (http://sharepointserver/docs/getfile. doc), so I went with cfhttp to resolve the url and get the content. I am able to pass through all the syntax issues but it gives me an error saying you are not authenticated, actually there are no credentials set on the sharepoint server even though it gives me with the error message. I'd appreciate if any one has a solution for this? Thanks Regards, Vamsi ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311802 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Accessing Sharepoint file
Hi, My mission is to copy the file directly from a sharepoint directory (which can only be accessed through url path like http://sharepointserver/docs/getfile.doc) into the coldfusion application server path (defined by mapping) Issue is I tried using the cffile tag for it but I guess cffile doesn't handle the url path like (http://sharepointserver/docs/getfile.doc), so I went with cfhttp to resolve the url and get the content. I am able to pass through all the syntax issues but it gives me an error saying you are not authenticated, actually there are no credentials set on the sharepoint server even though it gives me with the error message. I'd appreciate if any one has a solution for this? Thanks Regards, Vamsi ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311343 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Accessing Sharepoint file
My mission is to copy the file directly from a sharepoint directory (which can only be accessed through url path like http://sharepointserver/docs/getfile.doc) into the coldfusion application server path (defined by mapping) Issue is I tried using the cffile tag for it but I guess cffile doesn't handle the url path like (http://sharepointserver/docs/getfile.doc), so I went with cfhttp to resolve the url and get the content. I am able to pass through all the syntax issues but it gives me an error saying you are not authenticated, actually there are no credentials set on the sharepoint server even though it gives me with the error message. If you can get something via an HTTP request from a browser, but you can't do the same with CFHTTP, you need to compare the two HTTP requests and see what's different between them. You can use a packet sniffer or a recording proxy to examine HTTP traffic. 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! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311344 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4