在主机(图像,多媒体文件,...)中上传中等或大小的文件大小,而不需要ftp协议 [英] Upload medium or larg file size in host (images,multimedia files,...) without ftp protocol

查看:222
本文介绍了在主机(图像,多媒体文件,...)中上传中等或大小的文件大小,而不需要ftp协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使vb6中的上传文件工作容易,可以上传文件到主机。

例如(图像或多媒体文件或其他格式)和大小>小尺寸的文件> 500kb或1 MB,2 MB或更高的大小。



请帮我找到任何设计方法没有ftp协议

我认为有可能使用msxml refrences,但我不知道msxml如何设计它。 / p>

[感谢]

解决方案

。简单的HTTP文件传输的不利之处在于使用像Fiddler这样的通用工具来获取证书是相当容易的。然而FTP的情况也是如此。上传到保管箱的好处是,你可以有任何文件大小(提供你的保管箱帐户的空间)。

我没有尝试使用保管箱上传API,但你可以阅读这里的文档,看看PUT和POST方法: https:/如果你只是想上传到保管箱,你已经安装了保险箱客户端,你可以保存该文件到您的计算机上的保管箱文件夹,它会自动上传。

How can make a uploader file in vb6 to work easyly and can be uploade files into host.

For example (images or multimedia files or other format) and size > small size files for exampe > 500kb or 1 mb , 2 mb or upper sizes .

Please help me to can find any way to designed without ftp protocols.

I think it is possible to use of msxml refrences but i don't know how can designed it by msxml .

[thanks]

解决方案

You could upload to a HTTP like dropbox. The downside of simple HTTP file transfer is that it is fairly easy for somebody to grab your credentials using a common tool like Fiddler. However that is also the case with FTP just a bit harder. The upside to uploading to dropbox is that you could have any file size (providing you have the space on your dropbox account).

I haven't tried using the dropbox upload api yet but you can read the documentation here, take a look at the PUT and POST methods: https://www.dropbox.com/developers/core/docs

If you just wanted to upload to dropbox and you have the dropbox client installed you could just save the file to the dropbox folder on your computer and it would auto upload.

这篇关于在主机(图像,多媒体文件,...)中上传中等或大小的文件大小,而不需要ftp协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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