Hello,
When I connect to an FTP server, I get access to a remote file through FtpFile class. I wanted to set POSIX file permissions on this file such as rw-r--r--. I tried to use setPermission() of FtpFile. But to my surprise, there is no change on the remote site. I reverted to FtpClient.sendSiteCommand(). But I am afraid this could be platform-dependent.
  Whats the right way of setting permissions in platform-independent way?
--

Reply via email to