|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Accessing Sharepoint file
Hi,Vamsi Pappu 08/20/08 07:33 P Hi dave,Vamsi Pappu 08/29/08 02:26 P Are you sure that SharePoint when going to the URL via the browser is notAaron Rouse 08/29/08 03:10 P > My mission is to copy the file directly from a sharepointDave Watts 08/20/08 07:57 P 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 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 ----- Excess quoted text cut - see Original Post for more ----- 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. ----- Excess quoted text cut - see Original Post for more ----- ----- Excess quoted text cut - see Original Post for more ----- 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!
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||