如何将文件上传到Web应用程序文件夹路径 [英] How to upload files to a web app folder path

查看:133
本文介绍了如何将文件上传到Web应用程序文件夹路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于P2V2应用服务计划的Web应用

I have a Web app on P2V2 App service plan 

我需要使用我的网站将文件上传到位于

I need to upload files using my website to a folder located in D:\home\site\wwwroot

所以我可以添加此路径吗?

So can i add this path D:\home\site\wwwroot\Folder 1> (including hostname, Username, Password and port) to my code in order to let end users upload files to this folder for example 

instead of using Kudu or FileZilla 

If it possible can you guide me to the ASP.NET Visual Basic code 

推荐答案

您能否提供到目前为止您已经尝试过的内容?这是使用C#的示例:

https://docs.microsoft.com/zh-CN/dotnet/framework/network-programming/如何通过ftp上传文件
Could you provide what you have tried so far as a starting point? Here's an example using C#:

https://docs.microsoft.com/en-us/dotnet/framework/network-programming/how-to-upload-files-with-ftp


这篇关于如何将文件上传到Web应用程序文件夹路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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