getDocuments(filepath)// Get files from the FTP server using the filepath given in the parameter
asyncgetDocumentOpen(filename,filepath)// Download the specified file(s) from the FTP server using the filepath given in the parameter.
asyncpostDocument(formData,filepath)// Upload the specified file from the FTP server using the filepath given in the parameter. formData --> file object
asyncdeleteDocumentLocal(filename)// Delete the specified file from the local file system
deleteDocument(filenames,filepath)// Delete the specified file(s) from the FTP server using the filepath given in the paramerter
File-manager model
exportclassFile{
filePath?:string;// FTP server directory filepath
delete?:boolean;// displays the 'download' button, optional, default value is true
download?:boolean;// displays the 'download' button, optional, default value is true
upload?:boolean;// displays the 'upload' button, optional, default value is true