Google

smb.SharedFile Objects

smb.SharedFile objects have the following methods.

get_ctime() -> long
Return the time of creation of this file
get_ctime_epoch() -> long
Return the epoch time of creation of this file
get_mtime() -> long
Return the time of last modification of this file
get_mtime_epoch() -> long
Return the epoch time of last modification of this file
get_atime() -> long
Return the time of last access of this file
get_atime_epoch() -> long
Return the epoch time of last access of this file
get_filesize() -> long
Return the size of this file
get_allocsize() -> long
Return the allocated size for this file
get_attributes() -> int
Return the attribute value for this file
is_archive() -> int
Return non-zero if the archive bit for this file is set. Otherwise, zero.
is_compressed() -> int
Return non-zero if the compressed bit for this file is set. Otherwise, zero.
is_normal() -> int
Return non-zero if the normal bit for this file is set. Otherwise, zero.
is_hidden() -> int
Return non-zero if the hidden bit for this file is set. Otherwise, zero.
is_readonly() -> int
Return non-zero if the readonly bit for this file is set. Otherwise, zero.
is_temporary() -> int
Return non-zero if the temporary bit for this file is set. Otherwise, zero.
is_directory() -> int
Return non-zero if this file is a directory. Otherwise, zero.
is_system() -> int
Return non-zero if the system bit for this file is set. Otherwise, zero.
get_shortname() -> string
Return the short name representation for this file.
get_longname() -> string
Return the long name representation for this file.
smb Modulesmb


Last modified on Sat, Aug 3 2002