Отправка файлов
Methods
- api.warpꓸfilesUpload.addFile(srcFilePath, fileMeta) → Result
- api.warpꓸfilesUpload.filePath(fileName) → Result
- api.warpꓸfilesUpload.filesToSend() → Result
- api.warpꓸfilesUpload.isFileSent(fileName) → Result
- api.warpꓸfilesUpload.markFileToSend(fileNameOrPath) → Result
- api.warpꓸfilesUpload.removeFile(fileNameOrPath) → Result
Methods description
-
addFile(srcFilePath, fileMeta) → Result
-
Добавить файл для отправки
Parameters:
Name Type Argument Description srcFilePath String Имя файла
fileMeta FileMeta optional Метаданные добавляемого файла. На текущий момент параметр не используется
Return:
-
filePath(fileName) → Result
-
Вернуть путь до файла
Parameters:
Name Type Description fileName String Имя файла
Return:
-
filesToSend() → Result
-
Вернуть список файлов подготовленных для отправки
Return:
-
isFileSent(fileName) → Result
-
Вернуть признак отправки файла
Parameters:
Name Type Description fileName String Имя файла
Return:
-
markFileToSend(fileNameOrPath) → Result
-
Пометить файл для отправки
Parameters:
Name Type Description fileNameOrPath String Имя файла или путь
Return:
-
removeFile(fileNameOrPath) → Result
-
Удалить файл из списка для отправки
Parameters:
Name Type Description fileNameOrPath String Имя файла или путь
Return: