资源简介
使用ftp http网络技术实现下载文件的类 ,能检测更新文件,下载进度 下载速度等
代码片段和文件信息
////////////////////////////////////////////////////////////////////////////////
// CppSQLite3 - A C++ wrapper around the SQLite3 embedded database library.
//
// Copyright (c) 2004..2007 Rob Groves. All Rights Reserved. rob.groves@btinternet.com
//
// Permission to use copy modify and distribute this software and its
// documentation for any purpose without fee and without a written
// agreement is hereby granted provided that the above copyright notice
// this paragraph and the following two paragraphs appear in all copies
// modifications and distributions.
//
// IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT
// INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING LOST
// PROFITS ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION
// EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
// PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION IF
// ANY PROVIDED HEREUNDER IS PROVIDED “AS IS“. THE AUTHOR HAS NO OBLIGATION
// TO PROVIDE MAINTENANCE SUPPORT UPDATES ENHANCEMENTS OR MODIFICATIONS.
//
// V3.0 03/08/2004 -Initial Version for sqlite3
//
// V3.1 16/09/2004 -Implemented getXXXXField using sqlite3 functions
// -Added CppSQLiteDB3::tableExists()
//
// V3.2 01/07/2005 -Fixed execScalar to handle a NULL result
// 12/07/2007 -Added int64 functions to CppSQLite3Query
// -Throw exception from CppSQLite3DB::close() if error
// -Trap above exception in CppSQLite3DB::~CppSQLite3DB()
// -Fix to CppSQLite3DB::compile() as provided by Dave Rollins.
// -sqlite3_prepare replaced with sqlite3_prepare_v2
// -Added Name based parameter binding to CppSQLite3Statement.
////////////////////////////////////////////////////////////////////////////////
#include “CppSQLite3.h“
#include
// Named constant for passing to CppSQLite3Exception when passing it a string
// that cannot be deleted.
static const bool DONT_DELETE_MSG=false;
////////////////////////////////////////////////////////////////////////////////
// Prototypes for SQLite functions not included in SQLite DLL but copied below
// from SQLite encode.c
////////////////////////////////////////////////////////////////////////////////
int sqlite3_encode_binary(const unsigned char *in int n unsigned char *out);
int sqlite3_decode_binary(const unsigned char *in unsigned char *out);
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
CppSQLite3Exception::CppSQLite3Exception(const int nErrCode
char* szErrMess
bool bDeleteMsg/*=true*/) :
mnErrCode(nErrCode)
{
mpszErrMess = sqlite3_mprintf(“%s[%d]: %s“
errorCodeAsString(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 35791 2016-12-23 17:07 download\CppSQLite3.cpp
文件 8193 2016-12-15 17:40 download\CppSQLite3.h
文件 571 2018-01-02 17:33 download\CreateLnk.bat
文件 0 2017-01-03 13:20 download\Debug\.down0
文件 4362 2018-01-09 10:51 download\Debug\BscMake.command.1.tlog
文件 4488 2018-01-09 10:51 download\Debug\bscmake.read.1.tlog
文件 3106 2018-01-09 10:51 download\Debug\bscmake.write.1.tlog
文件 22042 2018-01-09 10:51 download\Debug\cl.command.1.tlog
文件 220510 2018-01-09 10:51 download\Debug\CL.read.1.tlog
文件 13992 2018-01-09 10:51 download\Debug\CL.write.1.tlog
文件 100281 2018-01-09 10:20 download\Debug\CppSQLite3.obj
文件 0 2018-01-09 10:20 download\Debug\CppSQLite3.sbr
..A.SHR 10 2017-10-16 09:51 download\Debug\Desktop_.ini
文件 13904896 2018-01-09 10:51 download\Debug\download.bsc
文件 4774 2016-12-31 10:06 download\Debug\download.Build.CppClean.log
文件 7330304 2018-01-09 10:51 download\Debug\download.exe
文件 667 2016-12-31 10:06 download\Debug\download.exe.em
文件 732 2018-01-09 10:20 download\Debug\download.exe.em
文件 381 2018-01-09 10:51 download\Debug\download.exe.intermediate.manifest
文件 15890776 2018-01-09 10:51 download\Debug\download.ilk
文件 46 2018-01-09 10:51 download\Debug\download.lastbuildstate
文件 1344 2018-01-09 10:51 download\Debug\download.log
文件 85879 2018-01-09 10:39 download\Debug\download.obj
文件 24379392 2018-01-09 10:20 download\Debug\download.pch
文件 28929024 2018-01-09 10:51 download\Debug\download.pdb
文件 155428 2018-01-09 10:39 download\Debug\download.res
文件 0 2018-01-09 10:39 download\Debug\download.sbr
文件 713 2018-01-09 10:20 download\Debug\download.vcxprojResolveAssemblyReference.cache
文件 0 2018-01-02 17:30 download\Debug\download.write.1.tlog
文件 340533 2018-01-09 10:51 download\Debug\downloadDlg.obj
............此处省略129个文件信息
相关资源
- C语言封装的HttpClient接口
- FTP客户端源码(c++)
- ftp工具代码
- c++开发http服务端+客户端
- 用C++写的FTP客户端
- 网络编程MFC 实验四 FTP客户端功能实现
- DemoHttpMFC.zip
- MFC 实现FTP客户端的上传断点续传
- c语言实现http服务器和浏览器进行数据
- vc++ c++ c 软件自动升级程序源代码 在
- 计算机网络课程实验:FTP协议的实现
- C++ FTP 源码
- FTP客户端VC实现
- C++做的Ftp服务器
- c++ ftp文件传输
- 网络编程HttpServer c++实现
- MFC实现FTP上传文件的客户端和服务器
- 课设FTPwinsock
- FTP客户端基本功能C++
- VC++ ftp 服务器客户端毕业设计源码
- c语言实现http服务器浏览器实时刷新数
- FTP客户端与服务器的MFC实现
- 简单HTTP代理服务器-源码c++
- 计算机网络课程设计农大socket实现F
- C语言实现基于winsock的ftp客户端程序
- 支持多线程和断点续传的FTP客户端
- C++ 实现 HTTP HTTPS POST GET(包含curl版本
- C语言搭建的简单web服务器
- 用VC++写的小型FTP服务器源代码
- c语言实现ftp文件传输
评论
共有 条评论