update-smb-file

Retrieves a file from a SMB/CIFS server.

Arguments

Inputs:

share: The name of the service to which you want to connect. Takes the form of \\server\service, //server/service, or smb://server/service where server is the host name or IP address of the SMB/CIFS server, the service is the name of the service offered by the server.

port: The port of the SMB server. If unspecified, defaults to 445.

domain: The domain of which the user is registered. e.g. WORKGROUP.

username: The username of the user required to access the specified service on the specified server.

password: The password required to access the specified service on the server.

file path: The relative path (e.g. folder\file.txt) or the absolute path (e.g. \\localhost\public\folder\file.txt) of the file to be accessed.

update: The file to be updated.

Output:

file: The updated file.

Last updated