importfiles

Imports files from your NetSuite account to the account customization project.

Syntax

          importfiles -paths FileCabinetPath1 [FilePathCabinet2] [...]
    [-authid myNetSuiteDevRole]
    [-p FolderOrZipFile]
    [-excludeproperties] 

        

Options

Option

Required / Optional

Description

-paths

Required

Specifies the File Cabinet path or paths that contain the files to import.

Important:

Wildcards are not allowed.

-authid

Optional

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

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

-p

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.

-excludeproperties

Optional

Excludes the file and folder properties specified in your NetSuite account. If you specify this option, the .attributes folder is not created.

-h or -help

Optional

Prints the help for this command.

Example

The following command imports a file from a NetSuite account into a specified SuiteCloud project:

sdfcli importfiles -paths "/SuiteScripts/test.js" -authid myDevRole -p c:/project/

When executed, the command prompts you to overwrite any existing files in the SuiteCloud project and produces output that is similar to the following:

          SuiteCloud Development Framework CLI (com.netsuite.ide.core_2021.1.0)
Existing files will be overwritten, do you want to continue? Type YES to continue.
YES
Done 

        

Related Topics

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

General Notices