是否可以将文件从一个网页发送到asp.net中的另一个网页 [英] Is it possible to send file from one web page to another in asp.net

查看:77
本文介绍了是否可以将文件从一个网页发送到asp.net中的另一个网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个域,例如domain1和domain2.

i have two domains like domain1 and domain2.

我正在使用 server.SaveAs 方法将文件上传到domain1的服务器,该方法将文件上传到domain1

I'm uploading file to domain1's server with server.SaveAs method which uploads file to domain1

我想将相同的文件上传到domain2和domain1.你们能建议我怎么做吗?

i want to upload same file to domain2 as well as domain1. can you people suggest me how can i do that.

如何将docx文件传递到querystring?

how can i pass docx file into querystring ?

请不要让我使用ftp.

please do not ask me to use ftp.

推荐答案

当我们创建asp.net Web API并将其部署到第二个域时,问题已解决.

Issue resolved when we created an asp.net web api and deployed it to 2nd domain.

这篇关于是否可以将文件从一个网页发送到asp.net中的另一个网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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