listfiles

Lists the files in the File Cabinet of your NetSuite account.

Syntax

          listfiles [-authid myNetSuiteDevRole]
    <-folder FileCabinetPath1 [FileCabinetPath2] [...]> 

        

Options

Option

Required / Optional

Description

-folder

Required

Specifies the File Cabinet folder that contains the files to list.

In addition to the files in the folder, the files in any subfolders are listed.

-authid

Optional

If you do not specify it, the default account is used.

References the custom alias you give to a specific account-role combination.

-h or -help

Optional

Prints the help for this command.

Example

The following command lists the files in the File Cabinet of your NetSuite account:

sdfcli listfiles -folder "/SuiteScripts" -authid myDevRole

When executed, the command produces output that is similar to the following:

          SuiteCloud Development Framework CLI (com.netsuite.ide.core_2021.1.0)
/SuiteScripts/file1.js
/SuiteScripts/file2.js
/SuiteScripts/file3.js
/SuiteScripts/file4.js
/SuiteScripts/RunTimeFiles/document.pdf
/SuiteScripts/RunTimeFiles/data.csv
/SuiteScripts/RunTimeFiles/log.txt
/SuiteScripts/RunTimeFiles/sample.txt
/SuiteScripts/RunTimeFiles/test.xml 

        

Related Topics

SuiteCloud CLI for Java Commands
adddependencies
authenticate
createproject
deploy
importbundle
importconfiguration
importfiles
importobjects
listbundles
listconfiguration
listmissingdependencies
listobjects
manageauth
package
preview
project
update
updatecustomrecordwithinstances
uploadfiles
uploadfolders
validate

General Notices