'Declaration Public Overloads Shared Sub Send( _ ByVal hostname As String, _ ByVal port As Integer, _ ByVal username As String, _ ByVal password As String, _ ByVal remoteDestinationFolder As String, _ ByVal ParamArray filesToSend() As String _ )
Parameters
- hostname
- The hostname of the FTP server to connect to. An IP address can also be used.
- port
- The port of the FTP server to which to connect to.
- username
- The username used to connect to the FTP server.
- password
- The password used to connect to the FTP server.
- remoteDestinationFolder
- The remote destination folder into which the files will be placed.
- filesToSend
- A list of strings representing the files to be transferred. File paths may not start with a \ or a /. If a path represents a folder, it must end with a / or a \.