----- Original Message ----- 
From: "Artem Antonov" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.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 'CHMOD': 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 CHMOD.  There's no guarantee it will work though.

Dan
-- 
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