'Declaration
Public Function CreateGdPictureImageFromFTP( _ ByVal Host As String, _ ByVal Path As String, _ ByVal Login As String, _ ByVal Password As String, _ ByVal FTPPort As Integer _ ) As Integer
public int CreateGdPictureImageFromFTP( string Host, string Path, string Login, string Password, int FTPPort )
public function CreateGdPictureImageFromFTP( Host: String; Path: String; Login: String; Password: String; FTPPort: Integer ): Integer;
public function CreateGdPictureImageFromFTP( Host : String, Path : String, Login : String, Password : String, FTPPort : int ) : int;
Parameters
- Host
- The name of the host server, where the file is located, for example ftp.gdpicture.com.
- Path
- The file path of the image on the host server, 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 GdPictureImaging.GetLastTransferError method to diagnose the error if this method has failed with one of the GdPictureStatus.Internet... errors.
Be aware that you need to release the image with the GdPictureImaging.ReleaseGdPictureImage method after being used.