Qore ssh2 Module ..
Loading...
Searching...
No Matches
SftpPoller::SftpPollerFileEventInfo hashdecl Reference

SftpPoller file event hash. More...

#include <SftpPollerUtil.qm.dox.h>

Public Attributes

string name
 the name of the file, link, or directory
 
int size
 the size of the file in bytes
 
int uid
 the UID of the owner of the file
 
int gid
 the GID of the owner of the file
 
int mode
 the permissions / mode of the file
 
date atime
 the last accessed date/time of the file
 
date mtime
 the last modified date/time of the file
 
string type
 the type of file
 
string perm
 a string giving UNIX-style permissions for the file (ex: "-rwxr-xr-x")
 
data data
 the file's data
 
string filepath
 the remote filepath relative to SFTP root directory
 
date transfer_time
 The relative date/time value giving the time taken to transfer the file.
 
*string local_path
 Only included when `local_dir` is set; the target path for the file.
 
string remote_status
 Remote status; one of SFTP Remote Status Constants.
 

Detailed Description

SftpPoller file event hash.

Member Data Documentation

◆ data

data SftpPoller::SftpPollerFileEventInfo::data

the file's data

Note
This will be a string unless the "binary" option is set to True, in which case this key is assigned to the files binary data; this hash key is only present if skip_file_content_retrieval was False in the options to SftpPoller::constructor()

◆ type

string SftpPoller::SftpPollerFileEventInfo::type

the type of file

one of:

  • "REGULAR"
  • "DIRECTORY"
  • "SYMBOLIC-LINK"
  • "BLOCK-DEVICE"
  • "CHARACTER-DEVICE"
  • "FIFO"
  • "SYMBOLIC-LINK"
  • "SOCKET"
  • "UNKNOWN"

The documentation for this hashdecl was generated from the following file: