Download all files in one folder (General questions)
Can someone please tell me how to download all existing files in one folder with wodSFTP.net? The GetFiles Method does not work.
Thank you in advance.
Can someone please tell me how to download all existing files in one folder with wodSFTP.net? The GetFiles Method does not work.
Thank you in advance.
by wodDrazen , (6817 days ago) @ ALBERTO
Hi Alberto,
I tested GetFiles Method from wodSFTP.NET and it works .
GetFiles works as it should. Folder structure is same for Remote Folder that you want to download.
If you execute GetFiles for /home/something/test folder and on server exist sub folder test2 in test folder (/home/something/test/test2 ). Test2 folder will be download to test2 sub folder ( c: est est2 ).
Is this what you want or you want to download content of test2 folder in test ( c: est ) folder?
Hope I helped.
Regards,
Drazen
by ALBERTO , (6817 days ago) @ wodDrazen
Hi Drazen
I don't have any doubt about the way in which folders and subfolders should be downloaded in case that the GetFiles Method worked.
My problem is that GetFiles( c:myfolder , /remotefolder/etc ,1) does not download any of the files contained by the remote folder, and no error nor exception rises.
Thank you for your attention.
Hi Alberto,
I tested GetFiles Method from wodSFTP.NET and it works .
GetFiles works as it should. Folder structure is same for Remote Folder that you want to download.If you execute GetFiles for /home/something/test folder and on server exist sub folder test2 in test folder (/home/something/test/test2 ). Test2 folder will be download to test2 sub folder ( c: est est2 ).
Is this what you want or you want to download content of test2 folder in test ( c: est ) folder?
Hope I helped.
Regards,
Drazen
by wodDrazen , (6817 days ago) @ ALBERTO
Hi Alberto,
Did you use full path for LocalPath and RemotePath?
Here is example:
---------------------------
sftp1.GetFiles ( c:\myfolder , /home/something/etc , 1)
---------------------------
This is main problem with GetFiles Method and other download and upload methods.
Let us know how it goes.
Regards,
Drazen
Thanks! We love your software and your great support!
You made it so simple for us to integrate SFTP - a technology we had little experience with...
It was no small factor, however, that your support in getting me up and running made me buy from you.
Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.
...with a minimum of effort as the DLL interface was written with such simplicity...
The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo
Your support is fantastic.
...your service has been phenomenal. It's always quick and you are there when I need you.
Congratulations on an excellent product and first rate support!
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?