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, (5921 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 , (5921 days ago) @ bonghwan
oops!
i miss the e-mail address.
by wodDamir , (5921 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 , (5921 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 , (5921 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, (5921 days ago) @ wodDamir
Dear,
i used wodFTPDLX.net v1.4.4.146 component.
by wodDamir , (5921 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
Don't be fooled by the cost, it's value and quality far exceeds the price being charged!
It was no small factor, however, that your support in getting me up and running made me buy from you.
I would highly recommend this to anyone who needs a good quality SFTP solution.
Your component works really great. With minor effort I have been able to convert my delphi application...
WeOnlyDo!COM will be the first stop I make should I require any further off-the-shelf components.
Brilliant, even works on the mobile phone...
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
I really like these products - they are consistently first rate!
...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...