smb-file

Imports a file from a shared network drive using standard SMB/CIFS protocol.

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 on which the user is registered. e.g. WORKGROUP.

username: The username required to access the specified service on the 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 imported.

Output:

file: The imported file.

Last updated