deleteFiles method (General questions)
hi,
i want to delete sub-directory and files in parent directory
i used deleteFiles method but the error occurs.
can you send sample to me? i have not found it.
regards,
by bonghwan, (6051 days ago)
hi,
i want to delete sub-directory and files in parent directory
i used deleteFiles method but the error occurs.
can you send sample to me? i have not found it.
regards,
by bonghwan
, (6051 days ago) @ bonghwan
oops!
i miss the e-mail address.
by wodDamir
, (6051 days ago) @ bonghwan
Bonghwan,
What error exactly do you receive?
Using DeleteFiles method is as easy as calling this:
wodFtpDLX1.DeleteFiles( / , 0);
The above line of code will delete all files and directories from remote directory.
Regards,
Damba
by bonghwan
, (6051 days ago) @ wodDamir
Hi Damba,
i want to delete '/ftptest/demo test/Code Test' directory.
but error occurs in directory delete action.
the method is ftp1.deleteFiles( /ftptest/demo test/Code Test ,0)
directory structure(3 sub-directories)
/ftptest/demo test/
-- FTP SA_LITE
-- Code Sample
-- Code Test
below the debug messages.
Loop Item = /ftptest/demo test/Code Test/FTP SA_LITE
Loop error = /ftptest/demo test/Code Test/FTP SA_LITE: No such file or directory.
Loop Item = /ftptest/demo test/Code Test/Code Sample
Loop error = /ftptest/demo test/Code Test/Code Sample: No such file or directory.
Loop Item = /ftptest/demo test/Code Test/Code Test
Loop error = /ftptest/demo test/Code Test/Code Test: No such file or directory.
Loop error = /ftptest/demo test/Code Test/Code Test: No such file or directory.
Loop error = /ftptest/demo test/Code Test/Code Sample: No such file or directory.
Loop error = /ftptest/demo test/Code Test/FTP SA_LITE: No such file or directory.
by wodDamir
, (6051 days ago) @ bonghwan
Bonghwan,
Can you perhaps try deleting those folders using any other client?
Does it work?
Also, what version of the component are you using?
Regards,
Damba
by bonghwan, (6051 days ago) @ wodDamir
Dear,
i used wodFTPDLX.net v1.4.4.146 component.
by wodDamir
, (6051 days ago) @ bonghwan
Bonghwan,
Ok. And did you try doing the same using any other client (FileZilla, FTP Voyager)? Does it work?
Is there any chance we could perhaps connect to that server and reproduce the same behaviour?
Regards,
Damba

Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.

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?

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 component works really great. With minor effort I have been able to convert my delphi application...

You made it so simple for us to integrate SFTP - a technology we had little experience with...

...your service has been phenomenal. It's always quick and you are there when I need you.

The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...

Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.

...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...

The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...

