Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10073

File upload to webserver

$
0
0
Hi all,

I've build a codeunit that runs a report and save that as an xlsx. After that it must be uploaded to a webserver.

I can do a HTTP request using the Automation object "Microsoft XML, v6.0.XMLHTTP60" but it seems that it only supports text.

Than I tried to convert the file to a base64 string by using the DotNet mscorlib System.Convert component but it don't work and hangs on a "Ambiguous function call, no matching method found" error. That error can occur when the function have nullable fields. I don't know how to resolve that.

So, does someone know how to upload a file using HTTP? I'm stuck for 3 days now.

Many thanks in advance

Viewing all articles
Browse latest Browse all 10073

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>