使用C ++将文本文件转换为HTTP [英] converting text file to HTTP using C++

查看:79
本文介绍了使用C ++将文本文件转换为HTTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行密钥记录器程序,一旦将所有数据存储在文件中,我想使用c ++编码将该文件发送到另一台服务器,
我需要代码使用 HTTP 从笔记本电脑将文本文件发送到另一台服务器,使用C ++编程语言,有什么想法吗?

解决方案

您必须打开一个指向服务器HTTP侦听器的套接字(通常是端口80上的服务器地址),然后实现HTTP协议的PUT或POST方法.
(您必须有权在目标URL上写)

在此处查看以下内容: http://www.chilkatsoft.com/http_c++_library.as [ ^ ]


i am running key logger program , and once it store all the data in a file , i would like to send that file to another server using c++ coding ,
I need the code to send text file from my laptop to another server using HTTP ,Using C++ programing language, any ideas?

解决方案

You''ve have to open a socket towards the server HTTP listener (usually the server address on port 80) then implement the PUT or POST method of the HTTP protocol.
(you must have the right to write on the destination URL)

Give a lokk at here: http://www.chilkatsoft.com/http_c++_library.as[^]


这篇关于使用C ++将文本文件转换为HTTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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