Applies to:
- Winshuttle Foundation
UploadDocument
This operation allows you to upload a document to a document library from the local file system.
Usage
svadm.exe -o uploaddocument -url http://server/site -list "My Documents" -file "path to local file" [-folder "path/to/sharepointfolder"] [-name "file in sharepoint.txt"]
Options
Name |
Description |
Required |
-url |
The URL of the Workflow site where the document will be uploaded |
Yes |
-list |
The name of the document library |
Yes |
-file |
The full path to file on local file system |
Yes |
-folder |
The folder in the document library where document will be uploaded |
No |
-name |
The new name for the uploaded document |
No |