Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upload to SharePoint
Message
 
To
11/05/2011 02:14:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01510281
Message ID:
01510282
Views:
66
>I need to be able to upload a file to a SharePoint document folder, I have found .Net examples but they use a SharePoint framework object so I can't see what is happening "under the hood".
>
>I Could write a .Net DLL and call from VFP but I really want to use pure VFP, anyone done this or come accross sample code?
>
>Gary.


The answer from here (http://stackoverflow.com/questions/2781341/upload-a-pdf-file-to-a-sharepoint-document-library-using-access-vba):

Microsoft did some magic in SharePoint to make the libraries appear as Windows network shares to the clients. So, your program can just save the file to the UNC path.

So if you are logged on as a user with permissions to the library and the URL to the library is http://SHAREPOINT/Department/Files/ (for example), you can just save or copy the PDF files to \\SHAREPOINT\Department\Files\.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform