Class: FileExporter

FileExporter()

Abstract class for exporting files from a drive. Make sure you use setWorkerPath() with the correct worker script.

Constructor

new FileExporter()

Source:

Classes

FileExporter

Methods

(async) exportFile(fileToExport, exportDir, optionsopt)

Export a file from the drive to the external directory path
Parameters:
Name Type Attributes Description
fileToExport IVirtualFile The file that will be exported
exportDir IFile The external directory the file will be exported to
options FileExportOptions <optional>
The options for the file export
Source:

getError(err) → {any}

Override with your specific error transformation
Parameters:
Name Type Description
err any The error
Source:
Returns:
The transformed error
Type
any

stop()

Source: