updated README
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user