mibuso.com

Microsoft Business Solutions online community
It is currently Fri May 24, 2013 3:10 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: NAV FTP Client v1.1
PostPosted: Thu Jun 14, 2012 2:14 pm 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 1901
Location: Wilrijk, Belgium
Country: Belgium (be)
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.


Top
 Profile  
 
 Post subject: NAV FTP Client v1.1
PostPosted: Sun Jun 17, 2012 11:42 am 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 1901
Location: Wilrijk, Belgium
Country: Belgium (be)
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:

Code: Select all
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.


Top
 Profile  
 
 Post subject: Re: NAV FTP Client v1.1
PostPosted: Mon Nov 26, 2012 5:43 pm 
Offline

Joined: Thu Sep 06, 2012 11:05 am
Posts: 1
Country: Belgium (be)
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'...


Attachments:
File comment: Error UploadFile function
error UploadFile.png
error UploadFile.png [ 22.19 KiB | Viewed 973 times ]
Top
 Profile E-mail  
 
 Post subject: Re: NAV FTP Client v1.1
PostPosted: Thu Jan 03, 2013 6:19 pm 
Offline

Joined: Tue Apr 06, 2010 7:57 pm
Posts: 1
Country: Spain (es)
thanks you.
It run fine.

I need a RENAME function because when COPY the LS return it.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: