updated README

This commit is contained in:
2021-06-07 12:07:15 -05:00
parent 0330f8a2b5
commit 74aa26e974

View File

@@ -136,8 +136,8 @@ await api.directory.remove('/test')
// Check if file exists // Check if file exists
const exists = await api.file.exists('/my_file.txt') const exists = await api.file.exists('/my_file.txt')
// Delete a file // Remove a file
await api.file.delete('/my_file.txt') await api.file.remove('/my_file.txt')
// Download a remote file // Download a remote file
await api.file.download('/my_file.txt', 'C:\\my_file.txt', progress_cb); await api.file.download('/my_file.txt', 'C:\\my_file.txt', progress_cb);