Axapta 2009 X ++从网站下载文本文件 [英] Axapta 2009 X++ download text file from a website

查看:56
本文介绍了Axapta 2009 X ++从网站下载文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

鉴于我知道网址,我想从网站上下载文本文件.

I would like to download a text file from a website, given I know the URL of it.

推荐答案

Axaptapedia.com中有一些示例,加载Web文档.这些示例使用Microsoft .NET Framework.下面的代码来自Axaptapedia:

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'));
}

这篇关于Axapta 2009 X ++从网站下载文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆