Hi!
I use CFFTP to maintain a file sever through a web server. However, I found that I cannot delete a directory by using CFFTP. How can I do delete directory operation remotely? Thanks!
Most likely there is a permissions issue with the access given to Cold fusion.
Are you on a Linux box? NT? If the account Cold fusion runs under does not have FTP and root level permissions, altering the directory structure of the file system is impossible.
My FTP is on Windows2000 Advanced. I am using the account having full control for the FTP. But I still cannot delete the directory by using <CFFTP action=”remove”…
Error code: 2
Error text: Access is denied
Can you tell me in more detail? Thanks!
Is this the only command that is failing you? I understand what you're trying to do via a web based tool, but it may be more trouble than it is worth.
Im sorry I cannot offer any more specific solutions, but if you're able to determine that it is only the "remove" action when acting on an "item" that happens to be a directory that is causing problems, then you might check that the directory is empty before attempting to delete it. Other than that I can't help you, good luck, and I hope that access to delete a directory isnt crucial to the success of the system.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.