Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.1k views
in .NET FTP by (120 points)
I am using editFTP component in my VB.NET project and need it to CHMOD 755 a file on my remote server. Anyone know how to do this.

1 Answer

0 votes
by (51.6k points)
If your server supports the CHMOD site command then you can invoke it using:
myFTPConnection.InvokeSiteCommand("CHMOD", "755");

Particular SITE commands are not part of the standard, so you should check your sever documentation to see if that command is supported on your server. It's one of the more common commands, so there's a fair chance that it'll be supported. However, even if it isn't supported there may be another command that achieves the same result.

- Hans (EnterpriseDT)

Categories

...