I am able to download anything kept on ftp server to any directory (I mean any drive) in my system but when I try to upload from any directory (any drive) to ftp server it automatically uses current working directory (cwd) instead of the path I provided.
There may be chances that I may be giving the wrong path, so below is my code:
Hi,
I am facing a problem please help:
I am able to download anything kept on ftp server to any directory (I mean any drive) in my system but when I try to upload from any directory (any drive) to ftp server it automatically uses current working directory (cwd) instead of the path I provided.
There may be chances that I may be giving the wrong path, so below is my code:
------ Download ------ client.download('.', 'I:myFolder/', { overwrite: 'older' }, function(result) { console.log(result); });
------ Upload ------ client.upload(['*'], '.', { baseDir: 'I:myFolder/', overwrite: 'older' }, function(result) { console.log(result); });
An early reply would be highly appreciated.
Thanks in advance.