Open dsouzamanish opened 7 years ago
Lets Say i have a filenameA in /files/ folder. After processing this file i want to move it to /processed folder.
Do i have to download-delete-upload to new folder? Is there an endpoint for the same?
You can use the rename() function, worked for me
conn.rename(oldPath, newPath, (err)=> { console.log(err) })
Lets Say i have a filenameA in /files/ folder. After processing this file i want to move it to /processed folder.
Do i have to download-delete-upload to new folder? Is there an endpoint for the same?