Automation control for Dynamics NAV to Upload and Download files from FTP. Track progress within NAV with a dialog window.
New: Set passive mode, Delete file on FTP and list FTP directoty.
Includes setup.exe for installation.
Ver 1.1
New functions:
DeleteFileOnFTPServer()
ListFTPDirectory()
GetDirectoryList()
New Property
Passive
Sample code:
MESSAGE(NAVFTP.DeleteFileOnFTPServer('home/database.fdb'));
NoOfLines := NAVFTP.ListFTPDirectory('home',FALSE);
IF NoOfLines > 0 THEN
FOR i := 1 TO NoOfLines DO
MESSAGE(NAVFTP.GetDirectoryList(i));