uploadfolders
Uploads all the files in one or more folders from a SuiteCloud project to your account’s File Cabinet. If the folder doesn’t already exist in the File Cabinet, it gets added to your account.
All files in the specified folder, including subfolders, are uploaded recursively.
Syntax
uploadfolders [-authid AuthId]
[-project FolderOrZipFile]
<-paths FolderPath1 [FolderPathCabinet2] [...]>
Options
Option |
Required / Optional |
Description |
-paths |
Required |
Sets the path or paths for the folders you want to upload. To upload multiple folders, put a space between each path and wrap the whole argument in double quotes. For example:
Note:
The path has to start with a forward slash (/). |
-authid |
Required |
References the custom alias you give to a specific account-role combination. |
-project |
Required when a default project has not been specified by the project command or when you want to specify a project other than the default. For more information, see project. |
References the folder or ZIP file with your SuiteCloud project. |
-h or -help |
Optional |
Prints the help for this command. |
Example
Here's a command that uploads a folder from a SuiteCloud project into an account:
sdfcli uploadfolder -paths "/SuiteScripts" -authid AuthId -project c:/project/
Related Topics
- SuiteCloud CLI for Java Commands
- adddependencies
- authenticate
- authenticateci
- createfile
- createproject
- deploy
- importbundle
- importconfiguration
- importfiles
- importobjects
- listbundles
- listconfiguration
- listfiles
- listmissingdependencies
- listobjects
- manageauth
- package
- preview
- project
- update
- updatecustomrecordwithinstances
- uploadfiles
- validate