当前位置:首页 » 文件管理 » mfcftp下载

mfcftp下载

发布时间: 2023-05-22 01:40:12

1. 求MFC编写的ftp服务器和客户端程序

我这有一个以前自学用的例子,你看看需要不?

运行程序,打开程序主界面,如图1.1所示。输入FTP服务器IP地址、服务器端口、用户名及密码,单击“快速登录”按钮,连接FTP服务器。连接成功后,设置下载文件存储目录,然后就可以上传及下载文件了。下载文件过程中,可以暂停及删除下载任务。

图1.1 FTP文件上传下载模块主窗口

在“功能选项”菜单下选择“下载后关机”命令,文件下载完成后,自动关闭计算机。

2. 在MFC ftp下载文件的程序中 怎样使用Getfile()下载文件,在远程路径中使用的是URL地址 还是其他什么

请注意第一个参数不支持路径,只支持文件名。下载某个子目录下的文件,需要先用SetCurrentDirectory()进入该文件夹

3. C++程序中如何实现ftp多线程下载

本人不才,下面这个是从网络上转来的.不知可有帮助.

这是codeproject的关于ftp的实现,你可以去down源代码
Introction

StuffFTP is a free for life FTP client. This FTP client will allow you to connect to FTP servers and upload and download files.
Motivation

Why did I create and continue to support StuffFTP? First it is a learning experience, and since I just got laid off from my company, I decided to use some of the tools they have provided, its legal as I technically bought them and they do not have other programmers following in my footstep nor do they plan on hiring any, to create something for the community. I also used another FTP program that was freeware for a while and then became pay to use software with little to no notice. That irked me and a friend suggested I create my own FTP client. So I am.
Progress

This is currently a work in progress and I would be the first to say there is a lot of work to do. Since I am laid off, I have lots of time on my hands. And this is an excellent chance for me to learn some of the concepts of C++ that I wanted to, but never had the chance while I was working. I was hoping to get a job in San Jose, CA, but decided to hold off and live on saving for a while.
Guarantee

I will support this program as best as I can. I have already setup a website and forum for it, here. I use the forum because I have trouble responding to email especially when I get a whole bunch of SPAM everyday. There is no adware or spyware in the program, and I guarantee that it will be free for the life of the program.

Some people have already asked why I don't open source the project. The main reason is I do not know if I can. StuffFTP uses some proprietary third party libraries. I do not know if I can post the source code or header files to those libraries. So everyone will have to wait until I can get rid of those libraries or hear back from the companies concerning my question about releasing header and associated help files.
Tools

* MS Windows XP Professional
* MS Visual Studio .NET C++/MFC
* Clickteam Install Maker
* Clickteam Patch Maker
* Betaone.net forum members
* CXListCtrl by Hans Dietrich

3rd Party Libraries

The application uses Catalyst Socket Tools Library Edition and Professional UI GUI library. So far the support has been fair with Prof-UI and outstanding with Catalyst. The Catalyst tool is for the actual FTP connection and, as the name suggests, Prof-UI is being used for the GUI.
Updates

You can find the latest updates here and you can also find my latest ramblings, blogs, and support here. This is where you can find out all the latest versions and information.
How to contribute

Money! Just kidding you can contribute by downloading, using, and giving feedback on the program. That way I can determine which path to take with the application and which features to prioritize or not. Graphics is also where I need lots of help. I am left brained and can not draw a good stick figure to save my life. If you can help with graphics or anything else, please let me know. Also talk to me, I am bored. I have no job at the moment so I can use the company.
Features

* Able to upload/download from server/computer
* Connect to FTP sites using login
* Connect using other ports besides 21
* Delete, rename, and CHMOD a file

History

* 12/10/2003 - Version 0.11a
* 12/07/2003 - Version 0.10a

4. MFC 如何获得文件从FTP服务器上下载到本地的时间

是预计时间还是完成后的?
预计的话 下载不是可以获得数度嘛 除一下
完成后
简单老撒
首先在开始时获得时间,就是那种从19XX年开始到今天的秒数那种,完成后再获取一次 相减

5. MFC 用FTP方式下载文件会不会泄露服务器密码

可以自己写个算法 把用户名和密码加密
这样泄露的可能性小点

这个账户也只给下载的权限 其他上传 删除 列表什么的权限都不要写
这样就算别人拿到了密码也不能干什么。也不能列表 FTP里有什么也看不到

热点内容
c上机编程题 发布:2025-02-09 08:17:18 浏览:318
显示语法错误编译不出来 发布:2025-02-09 08:17:09 浏览:284
酒店配置什么灭火系统 发布:2025-02-09 08:06:37 浏览:773
java至尊 发布:2025-02-09 08:03:23 浏览:558
pythonwith 发布:2025-02-09 08:00:25 浏览:172
Ftp打开文件是只读模式 发布:2025-02-09 07:40:55 浏览:504
androidlistview点击事件 发布:2025-02-09 07:25:52 浏览:171
targz解压缩 发布:2025-02-09 06:59:19 浏览:311
wpsphp 发布:2025-02-09 06:58:41 浏览:962
视易锋云系统如何架设辅助服务器 发布:2025-02-09 06:47:08 浏览:770