當前位置:首頁 » 文件管理 » 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里有什麼也看不到

熱點內容
吃雞腳本輔助 發布:2025-02-09 09:09:29 瀏覽:5
sessionidpython 發布:2025-02-09 09:08:53 瀏覽:275
華為手機驗證碼和密碼忘了是多少 發布:2025-02-09 08:53:53 瀏覽:798
逆戰筆記哪個配置好玩 發布:2025-02-09 08:53:04 瀏覽:599
怎麼打開電腦雲伺服器 發布:2025-02-09 08:36:01 瀏覽:219
日元對人民幣演算法 發布:2025-02-09 08:35:52 瀏覽:39
安卓手機微信語音怎麼不能轉文 發布:2025-02-09 08:25:30 瀏覽:922
c上機編程題 發布:2025-02-09 08:17:18 瀏覽:319
顯示語法錯誤編譯不出來 發布:2025-02-09 08:17:09 瀏覽:286
酒店配置什麼滅火系統 發布:2025-02-09 08:06:37 瀏覽:774