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....
0