In some cases we need to download PDF files from HTTP URL’s, below are two functions that can be used in Navision to download a PDF file from HTTP URL’s (which does not require authentication).

Sample Code:


Some website might require a credential, in that case, we can add additional code to pass the credentials using – System.Net.NetworkCredential.
Please do let me know your suggestion and share this post. Thanks

Like
Report
*This post is locked for comments