getAttributesSMB: getAttributesSMB

View source: R/getAttributesSMB.R

getAttributesSMBR Documentation

getAttributesSMB

Description

Use python SMBConnection to retrieve information about the file at path on the service_name.

Usage

getAttributesSMB(
  username,
  password,
  my_name = Sys.info()[["nodename"]],
  remote_name,
  service_name,
  path,
  domain,
  port = 445,
  timeout = 30,
  python_location
)

Arguments

username

Your SMB user name

password

Your SMB user password, do not store this in your code!

my_name

The machine you are running this operation on (Default : Sys.info()[["nodename"]])

remote_name

The smb server name

service_name

The service_name name i.e. 'service_name'

path

The SMB folder path where your file is e.g. 'Files/Reporting/Test.csv'

domain

SMB server domain

port

Common port (Default : 445)

timeout

How long to keep the connection open before timeout (Default : 30)

python_location

The location of your python installation

Value

Retrieve a dataframe of attributes


bwaite-esr/btools documentation built on Sept. 28, 2023, 5:26 p.m.