spAddDocument
Adds a document to the specified document library.
Required Parameters
| |
| library | The name(or id) of the library, or the relative url points to a folder in which to add the file.(For instance, Shared Documents/Folder1/Folder2) | |
| file | The path of the file to be added. | |
Optional Parameters
| |
| name | The name assigned to the new file. | |
| siteurl | The absolute url of the target web site. The siteurl must be provided if you need to work out of SharePoint. | |
Output Attributes
| |
| sp:url | The server relative url of the file has been added. | |