Property

Method

Event

 

 

FtpPort

FTP·Î ÆÄÀÏÀ» Àü¼ÛÇÒ ¶§ »ç¿ëÇÒ FTP ¼­¹öÀÇ Æ÷Æ® ¹øÈ£¸¦ ¼³Á¤ÇÕ´Ï´Ù.

Syntax

    [get] HRESULT FtpPort(
    long* pVal
    );
    [put] HRESULT FtpPort(
    long newVal
    );

Parameters

[get] pVal

[out, retval] ÇöÀç ¼³Á¤µÈ FTP ¼­¹öÀÇ Æ÷Æ® ¹øÈ£¸¦ Ãâ·ÂÇÕ´Ï´Ù.

[put] newVal

[in] ÆÄÀÏÀ» Àü¼ÛÇÒ FTP ¼­¹öÀÇ Æ÷Æ® ¹øÈ£¸¦ ¼³Á¤ÇÕ´Ï´Ù. ±âº»°ªÀº 21ÀÔ´Ï´Ù. 

Return Values

Ç×»ó : 0 (7.0.0.66 ÀÌ»ó Áö¿ø)

Sample Codes

VBScript

dim files()
dim object
set object = Document.editForm
object.Wec.FtpFileScope = 0
object.Wec.FtpFileFilter = 0
object.Wec.FtpPassiveMode = 1
object.Wec.FtpPort = 21 ' Æ÷Æ® ¹øÈ£¸¦ ¼³Á¤ÇÕ´Ï´Ù.
object.Wec.FtpUserName = "admin"
object.Wec.FtpPassword = "adminxxx"
object.Wec.FtpUpload "www.myhome.co.kr", "/public_html", "index.htm"
'GET
filescope = object.Wec.FtpFileScope
filefilter = object.Wec.FtpFileFilter
passivemode = object.Wec.FtpPassiveMode
port = object.Wec.FtpPort ' ¼³Á¤ÇÑ Æ÷Æ® ¹øÈ£¸¦ °¡Á®¿É´Ï´Ù.
username = object.Wec.FtpUserName
password = object.Wec.FtpPassword

See Also

FtpFileFilter, FtpFileScope, FtpPassiveMode, FtpPassword, FtpUpload, FtpUserName, OnFtpUploadComlated