Immutable files on server
malee1975 opened this issue · comments
malee1975 commented
Hi,
Is there anyway the library can determine if the file on the server is immutable or not.
For example in Linux I used the chattr +i file-name.ext
command to make the file immutable.
regards
Matt
Patrick Juchli commented
There is no standard way to do this.
You could use the SITE command to access server-specific functionality. Try client.send("SITE chattr +i file-name.ext")
. But there is no guarantee that your FTP server supports this.