Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in .NET FTP by (160 points)
Hi
I have been using edtFTPnet 1.1.9 for some time now. It has been great but now I have run into a problem. When I try to use quote ( in order to execute "chmod" command ) I get an error message saying "CHMOD" command not allowed.
Can anybody tell what is going wrong? Also if any body has been able to using the method successfully, it would be helpful if they could post a sample code.

Sunil

3 Answers

0 votes
by (162k points)
Most likely, chmod is not allowed :)

Very few FTP servers will permit you to change file permissions.

Hi
I have been using edtFTPnet 1.1.9 for some time now. It has been great but now I have run into a problem. When I try to use quote ( in order to execute "chmod" command ) I get an error message saying "CHMOD" command not allowed.
Can anybody tell what is going wrong? Also if any body has been able to using the method successfully, it would be helpful if they could post a sample code.

Sunil
0 votes
by (160 points)
Thanks for the quick reply. I guess that must be it :cry: . So is there any way to get around this?

Sunil

Most likely, chmod is not allowed :)

Very few FTP servers will permit you to change file permissions.

Hi
I have been using edtFTPnet 1.1.9 for some time now. It has been great but now I have run into a problem. When I try to use quote ( in order to execute "chmod" command ) I get an error message saying "CHMOD" command not allowed.
Can anybody tell what is going wrong? Also if any body has been able to using the method successfully, it would be helpful if they could post a sample code.

Sunil
0 votes
by (162k points)
Not if the server doesn't allow it. Permitting chmod would be a big security hole which is why it isn't normally done.

Perhaps you need SSH/SFTP instead ...

Thanks for the quick reply. I guess that must be it :cry: . So is there any way to get around this?

Categories

...