NAV FTP Client v1.1
            
                
                    Administrator                
                
                    Member, Moderator, Administrator Posts: 2,507                
            
                        
            
                    NAV FTP Client
Automation control for Dynamics NAV to Upload and Download files from FTP. Track progress within NAV with a dialog window.
Includes setup.exe for installation.
http://www.mibuso.com/dlinfo.asp?FileID=1449
Discuss this download here.
                Automation control for Dynamics NAV to Upload and Download files from FTP. Track progress within NAV with a dialog window.
Includes setup.exe for installation.
http://www.mibuso.com/dlinfo.asp?FileID=1449
Discuss this download here.
0                
            Comments
- 
            NAV FTP Client v1.1
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));
http://www.mibuso.com/dlinfo.asp?FileID=1449
Discuss this download here.0 - 
            Hi
I have been looking for an FTP solution without the use of the SHELL command in NAV.
As usual, Mibuso comes to the rescue
.
I have been playing around with your solution for a bit now, but the UploadFile function returns an error. The function GetDirectoryList works fine, so the FTP connection is definitly there.
Attached you'll find a screenshot of the error.
Raw translation of the error:
"Cannot convert an object of type System.ComponentModel.AsyncOperation to type UploadBitsState."
I am running this on Windows 7 - 64 bit, in NAV 2009 SP 1.
Kind regards
Marten
EDIT: The problem was a faulty 'FROM' parameter. Of course 'C:\test,txt' does not work. It had to be 'C:\test.txt'...0 - 
            thanks you.
It run fine.
I need a RENAME function because when COPY the LS return it.0 - 
            Hello,
I installed the code on a codeunit, and to run it gives me authentication error. The username and password are correctly spelled ...
Greetings.0 - 
            Hi,
I think that passive mode doesn't work. When I set passive(True) then Automation return OK but server retur error "Entering Passive Mode(37,157,196,165,201,211)".CREATE(NavFTP,TRUE,TRUE); NavFTP.Username("FTP UserName"); NavFTP.Password("FTP Password"); NavFTP.Host("FTP Address"); NavFTP.Passive(TRUE);0 - 
            hi,
i've tried to download a file from our FTP Site, but (without Errors) the file is empty (0 bytes)
can someone help?
0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K Microsoft Dynamics NAV
 - 18.7K NAV Three Tier
 - 38.4K NAV/Navision Classic Client
 - 3.6K Navision Attain
 - 2.4K Navision Financials
 - 116 Navision DOS
 - 851 Navision e-Commerce
 - 1K NAV Tips & Tricks
 - 772 NAV Dutch speaking only
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions