commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: determining remote file write permission with FTPClient
Date Tue, 26 Aug 2003 06:10:38 GMT

In message <AFEJIMKODBODIBBBHKKCGECPCPAA.daniel.bray@capetechnologies.com>, "Da
niel Bray (CAPE)" writes:
>I'm using org.apache.commons.net.ftp.* and I was wondering if there's any
>way to determine if I have write access to a remote file without writing to
>it first?

See 
http://jakarta.apache.org/commons/net/apidocs/org/apache/commons/net/ftp/FTPFile.html

You can determine the permissions associated with a file as well as the
user and group ownership, from which you should be able to derive what
you need.

daniel



Mime
View raw message