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

面對現實,超越自己
逆水行舟,不進則退
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>
            久久伊伊香蕉| 亚洲国产日韩欧美在线动漫| 欧美偷拍一区二区| 亚洲午夜女主播在线直播| 欧美精品一区二区三区久久久竹菊 | 亚洲精品一品区二品区三品区| 亚洲国产精品热久久| 日韩午夜电影| 亚洲在线免费视频| 久久国产精品亚洲va麻豆| 欧美v日韩v国产v| 日韩视频一区二区三区| 亚洲一区二区在线免费观看| 久久精品国产久精国产思思| 欧美大片91| 国产毛片久久| 亚洲精品日本| 欧美一站二站| 亚洲精品少妇30p| 亚洲欧美日本伦理| 亚洲美女中出| 在线免费日韩片| 国内久久婷婷综合| 99国产精品视频免费观看| 亚洲一区二区三区四区视频| 久久九九热免费视频| 亚洲国产天堂网精品网站| 亚洲小说欧美另类社区| 美女主播精品视频一二三四| 欧美偷拍另类| 亚洲黄色av一区| 欧美一区不卡| 日韩一级大片| 欧美成ee人免费视频| 国产亚洲网站| 亚洲在线一区二区| 欧美黄网免费在线观看| 午夜日韩视频| 国产精品久久久久毛片软件 | 欧美激情一区在线| 韩日在线一区| 欧美亚洲日本国产| 国产精品一区在线观看| 亚洲精品在线免费| 免费人成网站在线观看欧美高清| 亚洲网站视频福利| 欧美日韩国产天堂| 亚洲精品乱码久久久久久黑人 | 欧美三级乱人伦电影| 亚洲国产精品欧美一二99| 久久久www成人免费毛片麻豆| 中日韩高清电影网| 欧美日韩精品一区视频| 日韩视频在线观看免费| 欧美国产大片| 麻豆亚洲精品| 亚洲日本va午夜在线电影| 欧美成人免费在线观看| 久久综合中文| 亚洲人午夜精品| 亚洲国产成人高清精品| 欧美成年人视频网站欧美| 亚洲精品国精品久久99热| 欧美国产一区二区在线观看| 美女视频黄 久久| 亚洲精品四区| 日韩一级片网址| 国产精品视频免费观看| 性欧美暴力猛交69hd| 午夜精品婷婷| 在线成人小视频| 亚洲国产日韩美| 国产精品黄页免费高清在线观看| 亚洲免费在线精品一区| 亚洲欧美日韩综合国产aⅴ| 在线观看欧美一区| 久久久久久久久久久久久女国产乱| 国产精品影片在线观看| 久久精品电影| 免费日本视频一区| 在线一区二区日韩| 亚洲综合视频一区| 精品91在线| 亚洲日本电影在线| 国产农村妇女精品一区二区| 久久亚洲精品欧美| 欧美精品日韩一本| 欧美一区观看| 欧美成人一区二区| 亚洲一区二区在线播放| 欧美伊人久久久久久久久影院| 在线观看91精品国产入口| 亚洲国产精品久久久久| 国产精品美女xx| 欧美黄色成人网| 国产精品久久久久久久久久免费看| 久久久夜精品| 欧美亚洲成人精品| 免费观看成人网| 国产精品久久久久av免费| 狼狼综合久久久久综合网| 欧美日韩国产首页| 免费日韩av电影| 国产欧美91| 亚洲精品午夜精品| 伊人狠狠色j香婷婷综合| av成人福利| 亚洲激情视频网站| 欧美影视一区| 亚洲欧美视频一区二区三区| 久久久一区二区| 久久高清福利视频| 欧美视频不卡| 亚洲国产精品视频一区| 国产一区av在线| 亚洲午夜成aⅴ人片| 影音先锋另类| 久久成人综合网| 亚洲少妇自拍| 免费成人av在线| 久久夜色精品| 国内外成人免费激情在线视频| 亚洲少妇自拍| 亚洲一区二区三区精品视频| 欧美激情精品久久久久久蜜臀| 欧美中文字幕| 国产精品免费网站| 亚洲一区二区三区四区在线观看| av成人国产| 欧美丰满少妇xxxbbb| 欧美不卡视频| 亚洲福利国产| 欧美大片网址| 最新精品在线| 一区二区高清在线| 欧美视频第二页| 亚洲私人影吧| 欧美一区日本一区韩国一区| 国产精品露脸自拍| 亚洲欧美日韩精品久久| 欧美亚洲网站| 国产有码一区二区| 久久久亚洲精品一区二区三区| 免费精品99久久国产综合精品| 美女网站久久| 亚洲欧洲精品成人久久奇米网 | 亚洲美女网站| 99视频+国产日韩欧美| 欧美成人精品在线播放| 欧美激情一区二区三级高清视频| 在线精品亚洲| 欧美国产精品va在线观看| 亚洲欧洲在线免费| 亚洲免费视频一区二区| 国产亚洲成av人片在线观看桃 | 亚洲精品国产精品久久清纯直播| 美女图片一区二区| 亚洲精品欧美一区二区三区| 亚洲伊人久久综合| 国产欧美丝祙| 免费亚洲一区| 夜夜夜精品看看| 久久婷婷综合激情| 欧美影院视频| 亚洲一区二区三区中文字幕在线| 欧美视频在线观看免费网址| 在线视频亚洲欧美| 久久久精品视频成人| 亚洲第一狼人社区| 欧美日韩激情小视频| 亚洲欧美视频在线观看视频| 蜜臀久久久99精品久久久久久| av成人黄色| 国产一区二区三区免费在线观看 | 亚洲成人在线| 欧美日韩一区二区三区在线| 午夜精品久久久久久久99黑人| 毛片一区二区三区| 亚洲午夜一区二区三区| 狠狠爱www人成狠狠爱综合网| 欧美黄色日本| 久久国内精品视频| 9i看片成人免费高清| 免费高清在线视频一区·| 亚洲欧美激情一区二区| 亚洲国产精品一区二区第一页 | 国产精品入口| 欧美激情精品久久久久久变态| 亚洲欧美日韩精品综合在线观看| 欧美国产精品一区| 久久久国产91| 午夜综合激情| 日韩亚洲一区在线播放| 激情综合色丁香一区二区| 国产精品免费观看视频| 欧美激情综合在线| 快射av在线播放一区| 欧美一区二区三区婷婷月色| 一区二区三区 在线观看视| 亚洲国产二区|