You are here: Start » AVL.NET » AVL.Ftp_SendString(string, string, string, string, string, bool)
AVL.Ftp_SendString(string, string, string, string, string, bool)
Sends a string to a remote serve using FTP (File Transfer Protocol).
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void Ftp_SendString( string inText, string inHostName, string inDestinationFileName, string inUsername, string inPassword, bool inUsePassiveMode )
Parameters
- inText
- Type: System.String
Text to send - inHostName
- Type: System.String
URL address of the remote server. - inDestinationFileName
- Type: System.String
Path where a text file should be saved on a remote server. - inUsername
- Type: System.String
User name needed to log in, or null. - inPassword
- Type: System.String
Password associated with a user name, or null. - inUsePassiveMode
- Type: System.Boolean
Protocol communication mode. May be necessary when using a firewall.
Errors
| Error type | Description |
|---|---|
| DomainError | Empty host name on input in Ftp_SendString |
| DomainError | Empty destination file name on input in Ftp_SendString |
