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 , (6943 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 , (6943 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 , (6943 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
...with a minimum of effort as the DLL interface was written with such simplicity...
...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!
...I'm extremely impressed with the product, it represents excellent value for money...
You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
We are having great success with your component ... email server that has over 750 000 mailboxes back ended by a SQL server...
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
...I'm extremely impressed with the product, it represents excellent value for money...
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.