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

面對現實,超越自己
逆水行舟,不進則退
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>
            激情综合色综合久久| 亚洲精品少妇网址| 欧美网站在线| 欧美日韩一区二区三区视频 | 免费久久99精品国产自在现线 | 国产精品久久久久免费a∨| 欧美成人免费视频| 欧美人成在线| 欧美激情成人在线| 国产精品成人一区二区网站软件 | 亚洲丰满在线| a91a精品视频在线观看| 性欧美大战久久久久久久免费观看| 亚洲国内精品| 亚洲一区二区三区免费在线观看 | 欧美日韩成人免费| 国内精品模特av私拍在线观看| 亚洲丰满少妇videoshd| 亚洲视频在线视频| 欧美成人国产一区二区| 亚洲一区中文| 亚洲国产精品久久久久久女王| 99视频精品免费观看| 久久综合一区二区| 国精品一区二区| 欧美一级电影久久| 国产精品网曝门| 国产欧美日韩视频在线观看 | 欧美日本在线播放| 亚洲第一二三四五区| 欧美精品二区| 亚洲精品国产拍免费91在线| 久久精品99无色码中文字幕| 亚洲人成网站精品片在线观看| 久久久久久穴| 先锋资源久久| 亚洲国产精品久久久久秋霞不卡| 在线午夜精品自拍| 欧美成人自拍视频| 欧美日韩www| 午夜精品福利在线| 欧美一级片一区| 国产视频精品xxxx| 欧美成人综合网站| 欧美三级视频在线播放| 午夜精品久久久久久久99樱桃| 亚洲欧美日韩在线观看a三区| 国产免费成人在线视频| 久久一区欧美| 欧美日韩成人在线| 久久久久久欧美| 欧美二区在线| 久久激情综合网| 欧美激情小视频| 久久狠狠亚洲综合| 欧美精品1区| 久久久久久97三级| 欧美日韩一区二区在线观看| 久久精品国产久精国产爱| 久久亚洲欧美| 久热精品视频在线观看| 欧美手机在线视频| 欧美激情视频在线播放| 国产亚洲精品美女| 一区二区欧美激情| 午夜精品久久久99热福利| 免费在线成人av| 欧美一区二区在线播放| 欧美一区二区三区日韩| 免费视频一区| 久久全国免费视频| 一区福利视频| 欧美在线一级视频| 久久久综合网站| 黄色成人av网站| 老司机午夜免费精品视频 | 欧美日韩亚洲一区二区| 亚洲国产一区二区精品专区| 亚洲高清久久网| 免费观看成人| 亚洲精品久久在线| 亚洲一卡二卡三卡四卡五卡| 欧美日韩一二三四五区| 亚洲欧美伊人| 久热国产精品视频| 日韩一级片网址| 国产精品视频免费观看| 久久综合色综合88| 99视频精品免费观看| 久久综合色天天久久综合图片| 日韩午夜黄色| 伊人狠狠色丁香综合尤物| 欧美日本国产一区| 午夜天堂精品久久久久| 亚洲人成精品久久久久| 久久国产精品99国产精| 99在线精品视频在线观看| 国产精品一区免费在线观看| 欧美精品一线| 又紧又大又爽精品一区二区| 久久久免费精品| 亚洲欧美中文另类| 夜久久久久久| 亚洲日本欧美| 亚洲精品国产精品国自产观看浪潮 | 欧美国产1区2区| 亚洲精品少妇| 久久性天堂网| 一本大道久久a久久综合婷婷| 久久免费精品视频| 亚洲一区二区三区四区视频| 欧美日本高清一区| 久久夜色精品亚洲噜噜国产mv| 亚洲欧美日韩精品久久久久| 99re6这里只有精品| 久久久久在线观看| 欧美国产第二页| 老司机午夜精品视频在线观看| 久色婷婷小香蕉久久| 欧美黄色一区二区| 久久人人97超碰国产公开结果 | 国产在线拍偷自揄拍精品| 欧美中文日韩| 在线亚洲观看| 欧美一区成人| 久久久久一区二区| 久久精品亚洲精品| 亚洲国产成人在线视频| 日韩一级网站| 亚洲一二三四久久| 久久免费观看视频| 欧美三级日本三级少妇99| 国产伦精品一区二区三区免费| 国产伪娘ts一区| 国产精品久久午夜| 一本色道88久久加勒比精品| 欧美一级二级三级蜜桃| 久久久久一区二区| 国内精品久久久久久久影视麻豆| 国产亚洲欧美激情| 亚洲美女少妇无套啪啪呻吟| 国产精品视频免费观看| 亚洲精品免费在线观看| 玖玖精品视频| 欧美激情精品久久久久| 国产一区二区三区在线观看免费视频 | 亚洲砖区区免费| 欧美91精品| 亚洲免费视频成人| 国产精品久久久亚洲一区| 国产精品99久久久久久人| 久久野战av| 欧美日韩国产小视频| 西瓜成人精品人成网站| 久久久久一区| 最近中文字幕日韩精品| 性久久久久久| 欧美一区二区国产| 国产精品久久久久久久久婷婷| 一本色道久久综合亚洲精品不卡 | 久久人人爽人人爽爽久久| 极品尤物av久久免费看| 翔田千里一区二区| 亚洲欧美在线观看| 国产亚洲一区二区三区在线观看| 中文网丁香综合网| 久久久精品999| 黄色国产精品一区二区三区| 91久久线看在观草草青青| 这里只有精品在线播放| 女人天堂亚洲aⅴ在线观看| 亚洲自拍偷拍麻豆| 日韩视频在线一区| 午夜欧美视频| 黑人巨大精品欧美一区二区小视频| 欧美日韩国产丝袜另类| 日韩午夜电影| 亚洲另类黄色| 一区免费在线| 久久综合色婷婷| 国产精品久久久久久久午夜 | 香蕉成人久久| 亚洲人成网站在线播| 99精品视频一区| 日韩一级视频免费观看在线| 亚洲啪啪91| 国产亚洲一区在线播放| 久久黄色级2电影| 久久精品盗摄| 国产真实乱偷精品视频免| 性做久久久久久| 久久精品国产综合| 欧美日韩精品在线| 久久www成人_看片免费不卡| 欧美日韩综合另类| 久久精品成人| 亚洲综合电影| 国产无一区二区| 中文av一区特黄| 久久精品99无色码中文字幕|