This library is based on JCIFS library. It provides access to Microsoft Windows network file system. See this tutorial.
Events:
DownloadCompleted (Url As String, RemoteFile As String, Success As Boolean) UploadCompleted (Url As String, RemoteFile As String, Success As Boolean) DeleteCompleted (Url As String, RemoteFile As String, Success As Boolean) ListCompleted (Url As String, Success As Boolean, Entries() As SMBFile)
Deletes a file or folder (including non-empty folders). The DeleteCompleted event will be raised when the process completes. Example: SMB1.DeleteFile("smb://USER-PC/", "1.jpg")
Downloads a remote file and stores it in the specified path. The DownloadCompleted event will be raised when the process completes. Example: SMB1.DownloadFile("smb://USER-PC/Users/Public/", "1.jpg", File.DirRootExternal, "1.jpg")
Similar to DownloadFile. Expects an OutputStream instead of the local file.
Initialize (EventNameAsString)
Initializes the object.
Initialize2 (EventNameAsString, PropertiesAsMap)
Initializes the object and sets the specified map of properties as explained on this page: SMB properties
ListFiles (UrlAsString, FilterPatternAsString)
Lists all files and folders in the given remote path. FilterPattern - DOS filter pattern. Pass an empty string to list all files and folders. The ListCompleted event will be raised when the process completes. Example: SMB1.ListFiles("smb://USER-PC/Users/Public/", "*.jpg")
Uploads a local file. The UploadCompleted event will be raised when the process completes. Example: SMB1.UploadFile(File.DirRootExternal, "1.jpg", "smb://USER-PC/", "1.jpg")