有没有办法将文件从C#winform应用程序发送到不同网络的服务器? [英] Is there any way to send file from C# winform application to server of diffenent network?

查看:68
本文介绍了有没有办法将文件从C#winform应用程序发送到不同网络的服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为订单管理构建了两个应用程序

1. Web服务器托管在服务器上以接收订单。

2.用于打卡订单的桌面应用程序。 />
i希望将文件格式的桌面应用程序发送到服务器PC。



我试图将图像存储在数据库中,但它在数据库中消耗更多空间。

解决方案

好吧,你可以使用FTP:简单的C#FTP类 [ ^ ]


将其存储在数据库中的方式,将其上传到Web服务器并将物理路径存储在数据库中。



欲了解更多详情,请参阅以下CP链接。



通过Web服务上传任何文件类型 [ ^

I have builded two applications for order management
1. Web Application which is hosted on sever for receive orders.
2. Desktop application for punch order.
i want to send file form desktop application to sever PC.

I have tried to store image in DB, but it consumes more space in DB.

解决方案

Well, you could use FTP: Simple C# FTP Class[^]


The way you are storing it in DB, have it uploaded to web server and store the physical path in DB.

For more details please refer below CP link.

Upload Any File Type through a Web Service[^]


这篇关于有没有办法将文件从C#winform应用程序发送到不同网络的服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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