House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

Accessing Sharepoint file

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi,
Vamsi Pappu
08/20/08 07:33 P
Hi dave,
Vamsi Pappu
08/29/08 02:26 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Vamsi Pappu
08/20/2008 07:33 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Vamsi Pappu
08/29/2008 02:26 PM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Aaron Rouse
08/29/2008 03:10 PM

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 -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
08/20/2008 07:57 PM

----- 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!


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists