CFLListDirectoryFTP Procedure

  • 2 minutes to read

Codeunit CFL FTP Mgt.

Function to list the content of a directory on a FTP server path

Signature

CFLListDirectoryFTP(Path: Text; UserName: text[50]; Password: text[50]; Url: text; Port: integer) Files: list of [Text]

Parameters

Path Text

Path to the directory to list

UserName text[50]

Username to use to connect to the FTP server

Password text[50]

Password to use to connect to the FTP server

Url text

Url to the sFTP server

Port integer

Port to use to connect to the FTP server

Returns

list of [Text]