问题
I would like to download a text file from a website, given I know the URL of it.
回答1:
There are a few examples in Axaptapedia.com, loading Web Documents. The examples use the Microsoft .NET Framework. The code below is from Axaptapedia:
public static void TEST_DownloadString (Args _args)
{
System.Net.WebClient webClient = new System.Net.WebClient();
;
info(webClient.DownloadString('http://axaptapedia.com'));
}
来源:https://stackoverflow.com/questions/8253012/axapta-2009-x-download-text-file-from-a-website