'Declaration
Public Overloads Function DisplayFromFTP( _ ByVal Host As String, _ ByVal Path As String, _ ByVal Login As String, _ ByVal Password As String, _ ByVal FTPPort As Integer _ ) As GdPictureStatus
public GdPictureStatus DisplayFromFTP( string Host, string Path, string Login, string Password, int FTPPort )
public function DisplayFromFTP( Host: String; Path: String; Login: String; Password: String; FTPPort: Integer ): GdPictureStatus;
public function DisplayFromFTP( Host : String, Path : String, Login : String, Password : String, FTPPort : int ) : GdPictureStatus;
Parameters
- Host
- The name of the host server, where the file is located, for example ftp.gdpicture.com.
- Path
- The file path on the host server for the document to display, for example /demo/image.jpg.
- Login
- The user's login required to authenticate on the server.
- Password
- The user's password required to authenticate on the server.
- FTPPort
- The FTP port number used. It is usually 21.
Return Value
Use the GetLastTransferError method to diagnose the error if this method has failed with one of the GdPictureStatus.Internet... errors.