I want to set file attributes on FTP server and use such commands:

FtpClient.HostDirName := '/my_dir/';
ExecuteCmd(FtpClient.Cwd, FtpClient.CwdAsync);

FtpClient.HostFileName := 'test.txt';
FtpClient.LocalFileName := 'chmod 644 test.txt';
ExecuteCmd(FtpClient.Quote, FtpClient.QuoteAsync);

But from FTP server I get:

16.08.2005 10:36:17 - Executing requested command...
> chmod 644 test.txt
< 500 'CHMOD': command not understood.
Request 33 done
Status code = 500.

How I can set file attributes or where is I am wrong?


Best regards,
Artem Antonov.
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to