storeFileSMB | R Documentation |
Use python SMBConnection to store the contents of a file at path on a SMB service_name. If the file already exists on the remote server, it will be truncated and overwritten.
storeFileSMB(
username,
password,
my_name = Sys.info()[["nodename"]],
remote_name,
service_name,
path,
domain,
file_obj,
port = 445,
timeout = 30,
python_location
)
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 : |
remote_name |
The smb server name |
service_name |
The service_name name i.e. |
path |
The path to put your file e.g. |
domain |
SMB server domain |
file_obj |
Full file path, to be read e.g. |
port |
Common port (Default : |
timeout |
How long to keep the connection open before timeout (Default : |
python_location |
The location of your python installation |
Returns no value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.