Zum Inhalt

GetFTPSFileInformation (Opus Funktion)

Beschreibung

Retrieves file information for the specified file on an FTPS server and returns it as an object, using TLS encryption.

Argumente

Name

Typ

Beschreibung

Server

string

FTPS server hostname or IP address

UserName

string

FTPS login user name

Password

string sealed

FTPS login password

Path

string

Pfad

FileName

string

Filename

Port

integer

FTPS port number (typically 990 for implicit TLS)

Passive

integer

1 = use passive mode

0 = active mode

IgnoreCertErrors

integer

(optional)

1 = ignore TLS certificate errors

0 = strict validation (default 0)

Rückgabewert object

Fileinformation Object mit ganz vielen Elementen. file information object with fields FileName, FilePath, FileTitle, FileURL, FileLength, IsArchived, IsCompressed, IsDirectory, IsDots, IsHidden, IsNormal, IsReadOnly, IsSystem, IsTemporary, CreationTime, LastAccessTime, LastWriteTime

Beispiel

 

Ergebnis:

Siehe auch