SaveToFTP Method

See Also     Examples     Applies To

Saves the native GdPicture image into a FTP server.

Syntax

object.SaveToFTP (sImageFormat, nEncoderParameter, sHost, sPath, sLogin, sPassword, nFTPPort)

The SaveToFTP syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sImageFormat Required. String. Image format: "pdf", "bmp" or "jpg" or "gif" or "png" or "tif".
nEncoderParameter Required. Long. Can be jpeg quality between 1 and 100 for "jpg" image format.
Can be compression value for tif image: 6:None, 5:RLE, 4:CCITT4, 3:CCITT3, 2:LZW.
For other image format set this parameter to 0.
sHost Required. String. The host server ex: ftp.gdpicture.com
sPath Required. String. The image file path to create into the distant server ex: /images/nature.jpg
sLogin Optional. String. Default value is "". User Login.
sPassword Optional. String. Default value is "". User Password.
nFTPPort Optional. Long. Default value is 21. The FTP port number used.

Returns

Long. GdPictureStatus

Category

Save and Close Image





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.