Message
From: "Artem Antonov" <antonov_a (AT) rambler (DOT) ru>
To: "ICS support mailing" <twsocket (AT) elists (DOT) org>
Sent: Tuesday, August 16, 2005 8:48 AM
Subject: [twsocket] [FTPCli] - Quote Method
Hello!
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 'CHMD': command not understood.
Request 33 done
Status code = 500.
How I can set file attributes or where is I am wrong?
Thanks!
Best regards,
Artem Antonov.
Try SITE CHMD. There's no guarantee it will work though.
Dan
dan
| Mon, 12 May 2008 00:49:00 GMT |