My earlier post on File Download used the responsestream property of WinHTTP. On my latest project I needed to use Windows Authentication on my website and found out that I needed to create the WinHTTP automation on client level to … Continue reading →
By using the Automation “‘Microsoft Shell Controls And Automation’.Shell” you can unzip a file within Dynamics NAV. Create a Global Name DataType Subtype SystemShellControl Automation ‘Microsoft Shell Controls And Automation’.Shell SystemShellItem Automation ‘Microsoft...
In Dynamic NAV it is possible to use the Automation “‘Microsoft XML, v6.0′.XMLHTTP” to download files. The code would be IF ISCLEAR(WinHTTP) THEN CREATE(WinHTTP,TRUE,FALSE); WinHTTP.open('GET',URL,FALSE); WinHTTP.send(''); IF WinHTTP.status <> 200 THEN...
In the Role Tailored Client all file system commands used by the Classic Client have been removed. For those who have been using commands such as EXISTS, RENAME and ERASE there is a code update to be done. I created … Continue reading →