Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/254.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/29.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 使用.aspx页面(VB)将文件上载到服务器_Php_Asp.net_Html_Iis - Fatal编程技术网

Php 使用.aspx页面(VB)将文件上载到服务器

Php 使用.aspx页面(VB)将文件上载到服务器,php,asp.net,html,iis,Php,Asp.net,Html,Iis,我目前正在.aspx页面中开发一个应用程序,它在IIS服务器上使用VB脚本。我需要上传我的HTML表单之一的图像。目前代码使用Form.Request(“field\u name”)从文本字段获取数据 我想知道是否存在与PHP的$\u文件相当的ASP,因为我在web上似乎找不到任何与我需要做的事情有远程链接的东西,我找到的所有脚本对于这样一个简单的任务来说要么过于复杂,要么展示如何使用C#上传文件 提前感谢。您需要请求文件。 For Each item As HttpPostedFile In

我目前正在.aspx页面中开发一个应用程序,它在IIS服务器上使用VB脚本。我需要上传我的HTML表单之一的图像。目前代码使用
Form.Request(“field\u name”)
从文本字段获取数据

我想知道是否存在与PHP的
$\u文件
相当的ASP,因为我在web上似乎找不到任何与我需要做的事情有远程链接的东西,我找到的所有脚本对于这样一个简单的任务来说要么过于复杂,要么展示如何使用C#上传文件


提前感谢。

您需要
请求文件。

For Each item As HttpPostedFile In Request.Files

    <Deal with files here>

Next
作为Request.Files中的HttpPostedFile用于每个项目
下一个

更多信息:

您需要
请求.Files

For Each item As HttpPostedFile In Request.Files

    <Deal with files here>

Next
作为Request.Files中的HttpPostedFile用于每个项目
下一个
更多信息: