uploadfolders

Uploads all the files within one or several folders from a SuiteCloud project to the File Cabinet in your account. The folder is added to the account if it did not already exist in the File Cabinet.

The files under the specified folder, including its subfolders, are uploaded recursively.

Syntax

          uploadfolders  [-authid AuthId]
    [-project FolderOrZipFile]  
    <-paths FolderPath1 [FolderPathCabinet2] [...]> 

        

Options

Option

Required / Optional

Description

-paths

Required

Specifies the path or paths that contain the files to upload.

To specify multiple paths, enter a space between paths and enclose the entire argument in double quotes. For example, "/SuiteScripts" "/SuiteScripts/Test"

Note:

The path must start with a forward slash mark (/).

-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 that contains the SuiteCloud project.

-h or -help

Optional

Prints the help for this command.

Example

The following command uploads a folder from a SuiteCloud project into an account:

sdfcli uploadfolder -paths "/SuiteScripts" -authid AuthId -project c:/project/

Related Topics

General Notices