mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 25, 2013 6:56 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: FTP with Ax 2009
PostPosted: Fri Apr 29, 2011 8:57 am 
Offline

Joined: Fri Apr 29, 2011 8:47 am
Posts: 1
Country: India (in)
I want to connect FTP from ax 2009. I used WinInet Class and also i called this class from one method which is given below.

static void TestUploadFTP(Args _args)
{
int hdl,g;
WinInet inet;
;
inet = new WinInet();
hdl = inet.internetConnect('ftpSite','username','password');
Inet.FtpGetFile(hdl, 'RemoteFile', 'LocalFile');
inet.internetCloseHandle(hdl);
}

But in this method , that "hdl" (the bold line) always returns 0.
Pls anyone help me....


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

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:  
cron