将文件上传到托管网站 [英] Uploading Files to Hosting Website

查看:83
本文介绍了将文件上传到托管网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ASP.net和vb.net创建学生注册和文件系统.我的网站托管在godaddy共享托管计划上.我想将护照复印件,图片等文件上载到服务器.我无法这样做.我联系了主持人(爸爸),这是我收到的回复.

如果在Windows Hosting帐户上运行ASP.NET 1.1,则服务器上将具有完全信任"权限.如果运行.NET运行时环境2.0或更高版本,则服务器上将具有中等信任度".如果您需要完全信任地使用ASP.NET 2.0或更高版本,则可以考虑使用专用主机服务器.如果可以使用ASP.NET 1.1,则可以在托管计划中对其进行更新.

我的问题是:

有办法解决吗?
我从某个地方听说可以通过代码更改版本然后再切换回去,从而在这种情况下将文件上传到服务器上,但是我不知道这是否真的可以工作.

请让我知道是否有解决方法.

I am creating a student registration and document system using ASP.net and vb.net. My website is hosted on a godaddy shared hosting plan. I want to upload documents to the server like passport copies, pictures etc. I was unable to do so. I contacted the hosting(go daddy) and this is the reply i receieved.

If you run ASP.NET 1.1 on your Windows Hosting account, you would have "full trust" on the server. If you run .NET runtime environment 2.0 or higher, then you would have "medium trust" on the server. If you need to use ASP.NET 2.0 or higher with full trust, then you may consider a Dedicated Hosting Server. If you can use ASP.NET 1.1, then you can update this on your hosting plan.

My question is:

is there a way to handle this?
I heard from some place that is is possible to upload the files on the server in such a condition by changing the version through the code and then switching back, however i do no know if that really can work.

Kindly let me know if there is a way to go about this.

推荐答案

有人吗?这对我很重要,请帮忙!有没有办法在运行时更改版本?
anyone ? this is very important to me, kindly help! is there a way to change the version at runtime?


这篇关于将文件上传到托管网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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