|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Accessing Sharepoint file
Author: Aaron Rouse
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57349#311802
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 -----
Author: Vamsi Pappu
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57349#311801
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 -----
Author: Dave Watts
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57349#311344
----- 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!
Author: Vamsi Pappu
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57349#311343
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
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||