青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

面對現實,超越自己
逆水行舟,不進則退
posts - 269,comments - 32,trackbacks - 0


FTP
 Wanderer - FTP Client using WININET

Sample Image

Description

This article presents a fully functional implementation of a FTP client. FTP Wanderer is a multithreaded FTP client with the look-and-feel of Windows Explorer, and makes moving files between the Internet and your computer as simple as local file manipulation. This application uses WININET API's to handle the FTP protocol, and while it's not the most elegant way to connect to a FTP server it does the job pretty well.

Features list

  • All file transfer requests are handled in the background, so you don't have to wait while files copy to continue browsing the current server. You can even connect to a different server, while file transfers on another server are still in progress.
  • The Transfer Manager shows all file transfers currently in progress plus the ones that are in the queue. You can configure how many transfers are processed simultaneously, so you don't run out of resources.
  • FTP Wanderer uses the Windows 9x/NT/XP style list boxes for displaying the contents of remote servers. With all familiar system icons and context menus.
  • You can specify the number of times it should try to connect, and the time delay between connection attempts.
  • Full Drag and Drop support. Simply drag one or more files or even complete folders onto FTP Wanderer's file view area to transfer them to the location of the server that is currently connected.
  • Easily configure FTP site settings, like username, password, port, initial remote folder, number of retries and default download folder.

Here's a brief description of some of the important classes of the application:

CMainFrame

CMainFrame contains most of the code for managing the FTP connection. It takes care of connecting to the server; initiate up/downloads and handling other FTP related actions.

CFTPListView

This is just a CListView derived class that takes care of displaying the files and enabling you to sort them. When the application is busy downloading or sorting a directory listing it can display an animation, just like explorer does.

CConnectDlg

This class (= Site Manager) enables the user to manage FTP sites. You can add/change and delete sites and configure properties such as hostname, port, username and password. The settings of each site are save to disk using serializing.

CTransferManagerDlg

CTransferManagerDlg (= Transfer manager) takes care of queuing the file transfers. It shows all file transfers currently in progress plus the ones that are in the queue. You can configure how many transfers are processed simultaneously, so you don't run out of resources. Each up/download in handled in a separate thread by initiating aCDownloadThread or CUploadThread thread.

CDownloadThread

Each download is handled in the background using a separate thread. CDownloadThread creates a new connection with the FTP server and displays a progress dialog that tells you the status of the file transfer. When the download is completed (or aborted) it notifies the transfer manager so the UI can be updated.

CUploadThread

Each upload is handled in the background using a separate thread. CUploadThread creates a new connection with the FTP server and displays a progress dialog that tells you the status of the file transfer. When the upload is completed (or aborted) it notifies the transfer manager so the UI can be updated.

To do list:

While this application has most of the features you might expect in a FTP client, there are a few things left to do:

  • Drag and drop support out of the file view area to Explorer. I think this one is not that easy, because this would probably 'block' explorer until the file transfer is completed (any suggestions?).
  • Progress indication in the transfer manager. This is not really that hard to do, so this will probably be in the next release.
  • Better asynchrony handling of getting directory listing. The UI now does not respond when downloading a huge directory listing.

Contacting the Author

Please send any comments or bug reports to me via email. For any updates to this article, check my site here.

Revision history

  • 31st July 2002 - Initial revision.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

原文
地址:http://www.codeproject.com/Articles/2665/FTP-Wanderer-FTP-Client-using-WININET

posted on 2013-11-19 08:54 王海光 閱讀(737) 評論(0)  編輯 收藏 引用 所屬分類: MFC
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            另类成人小视频在线| 亚洲大胆av| 久久成人精品视频| 亚洲综合首页| 欧美一级视频精品观看| 性做久久久久久久久| 久久九九精品99国产精品| 久久一日本道色综合久久| 欧美福利电影网| 国产精品美女黄网| 在线日韩一区二区| 亚洲网站在线观看| 欧美在线观看视频在线| 久久综合狠狠综合久久综合88| 欧美第十八页| 制服丝袜亚洲播放| 狂野欧美激情性xxxx| 国产精品高清在线| 在线观看国产精品网站| 一本色道久久综合亚洲精品不卡| 午夜久久影院| 欧美高清视频一区| 亚洲综合色在线| 嫩模写真一区二区三区三州| 欧美涩涩视频| 1024国产精品| 亚洲欧美视频在线| 亚洲福利视频网| 亚洲综合精品自拍| 欧美激情亚洲另类| 韩国成人福利片在线播放| 在线视频精品| 亚洲国产经典视频| 久久久精品久久久久| 国产精品电影在线观看| 亚洲精品亚洲人成人网| 久久这里只有| 亚洲欧美综合v| 欧美香蕉大胸在线视频观看| 亚洲大胆av| 久久夜色精品| 麻豆freexxxx性91精品| 欧美激情aⅴ一区二区三区| 国产女人精品视频| 亚洲天堂av图片| 亚洲日韩第九十九页| 久久人91精品久久久久久不卡| 国产精品夜夜夜一区二区三区尤| 中文欧美日韩| 在线一区视频| 国产精品久久9| 亚洲自拍16p| 一区二区电影免费观看| 欧美伦理视频网站| 亚洲免费电影在线观看| 欧美xx视频| 欧美国产日本高清在线| 亚洲国内在线| 亚洲国产精品女人久久久| 久久夜色精品国产欧美乱极品| 国内精品久久久久久久影视麻豆 | 夜夜嗨av一区二区三区中文字幕| 欧美91大片| 亚洲精品午夜| 日韩写真在线| 国产精品久久久久久久免费软件| 亚洲免费一在线| 亚洲一区二区三区影院| 国产欧美精品在线| 久久久久久有精品国产| 久久精品国产清自在天天线| 伊人久久男人天堂| 亚洲电影激情视频网站| 另类天堂av| 一本色道久久| 亚洲欧美中文字幕| 亚洲国产精品久久人人爱蜜臀 | 欧美—级在线免费片| 99re热这里只有精品视频| 日韩视频在线观看免费| 国产精品亚洲一区二区三区在线| 久久精品国产免费看久久精品| 久久婷婷综合激情| 亚洲最快最全在线视频| 亚洲私人影院在线观看| 黑丝一区二区三区| 亚洲国产一区在线观看| 国产精品久久久久国产精品日日 | 欧美激情一区三区| 亚洲欧美国产高清va在线播| 欧美在线不卡| 妖精视频成人观看www| 亚洲欧美日韩一区二区| 又紧又大又爽精品一区二区| 亚洲精品日韩在线| 亚洲第一级黄色片| 亚洲激情另类| 国产伦精品一区| 欧美激情一区三区| 国产免费成人| 亚洲精品国产视频| 国产一区在线免费观看| 亚洲美女av电影| 在线播放一区| 亚洲欧美日产图| 夜夜爽av福利精品导航| 久久精品视频在线播放| 亚洲一区二区3| 欧美成年人网站| 久久亚洲高清| 国产日本欧洲亚洲| 99国内精品久久| 亚洲乱码日产精品bd| 久久久成人网| 久久精品亚洲热| 国产精品久久一级| 亚洲精品日本| 亚洲日本免费| 久久一区二区三区四区| 久久视频一区| 国产亚洲福利一区| 亚洲欧美日韩国产一区二区三区 | 亚洲精品国产日韩| 久久久久久69| 久久综合一区二区| 国产一区二区三区在线观看免费| 亚洲网站啪啪| 亚洲女人天堂成人av在线| 欧美日韩成人免费| 亚洲激情在线观看| 亚洲精品在线电影| 欧美国产在线视频| 亚洲国产福利在线| 日韩视频免费观看高清在线视频 | 99精品国产在热久久| 欧美成人精品| 亚洲欧洲精品一区| 一区二区三区高清| 欧美日韩三级一区二区| 99国产一区| 欧美一乱一性一交一视频| 国产欧美精品xxxx另类| 欧美一级视频| 欧美激情1区| av成人手机在线| 国产精品国产精品| 亚洲欧美在线一区二区| 久久久久久久一区二区三区| 黄色免费成人| 欧美精品乱人伦久久久久久| 一区二区三区四区五区精品| 香蕉久久夜色精品国产| 国产在线播精品第三| 久久免费视频在线| 亚洲精品在线免费观看视频| 午夜精品国产更新| 尤物99国产成人精品视频| 欧美精品在线一区| 性娇小13――14欧美| 久久国产精品毛片| 亚洲国产精品成人综合| 中国日韩欧美久久久久久久久| 国产精品高清网站| 久久精品国产2020观看福利| 欧美国产日韩精品| 亚洲永久免费视频| 伊人激情综合| 欧美日韩午夜视频在线观看| 午夜精品久久久久久久久久久| 欧美成人免费全部| 欧美一区二区三区成人| 亚洲第一中文字幕| 欧美日韩视频一区二区三区| 校园春色国产精品| 亚洲福利在线视频| 亚洲欧美日本国产有色| 尤物九九久久国产精品的特点| 欧美片第一页| 久久久国产精品一区| 一本色道久久综合亚洲精品不卡| 久久嫩草精品久久久精品| 一本一本久久| 亚洲国产成人91精品| 国产精品日本精品| 欧美精品www在线观看| 欧美一区二区三区四区高清| 亚洲九九精品| 欧美成人国产| 欧美专区中文字幕| 中日韩美女免费视频网址在线观看| 韩日成人在线| 国产精品一区三区| 欧美日韩久久| 免费亚洲网站| 久久久久久久一区二区| 亚洲欧美成人一区二区三区| 亚洲精品日韩精品| 亚洲国产精品精华液2区45| 久久精品亚洲一区二区三区浴池| 中日韩视频在线观看|