UploadFileToFTP Method

See Also     Examples     Applies To

Uploads a file to a distant FTP server.

Syntax

object.UploadFileToFTP (sFilePath, sHost, sPath, sLogin, sPassword, nFTPPort)

The UploadFileToFTP syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sFilePath Required. String. The path of the file to upload into the distant ftp server.
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

Standalone Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.