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

面對現實,超越自己
逆水行舟,不進則退
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 王海光 閱讀(741) 評論(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>
            性欧美videos另类喷潮| 欧美中文字幕久久| 欧美日韩精品欧美日韩精品| 亚洲欧美精品suv| 亚洲精品日韩久久| 亚洲国产精品第一区二区三区| 亚洲性感激情| 亚洲一区在线观看免费观看电影高清| 国产精品久久91| 欧美激情四色| 国产亚洲欧美中文| 在线观看一区二区视频| 亚洲国产精品久久久久婷婷老年| 亚洲国产成人精品女人久久久 | 一区二区三区产品免费精品久久75 | 国产精品网站在线观看| 国产精品任我爽爆在线播放| 国产九九精品| 亚洲精品一区二区三区四区高清| 亚洲丰满在线| 亚洲一区免费在线观看| 午夜欧美大尺度福利影院在线看| 免费观看一级特黄欧美大片| 欧美gay视频| 国产日韩精品一区二区三区| 亚洲国产精品激情在线观看| 一区二区三区高清在线| 久久riav二区三区| 亚洲欧洲综合另类在线| 亚洲一区不卡| 欧美日韩在线看| 在线精品一区二区| 久久精品国产清自在天天线| 亚洲精品日韩久久| 欧美大香线蕉线伊人久久国产精品| 国产精品99一区| 亚洲激情六月丁香| 久热精品视频在线观看| 亚洲视频一二| 欧美日韩一区二区三区高清| 亚洲精品人人| 亚洲人午夜精品免费| 欧美成人精品在线观看| 亚洲激情网址| 亚洲精品一区二区三区在线观看| 免播放器亚洲| 亚洲免费电影在线观看| 亚洲级视频在线观看免费1级| 欧美高清免费| 亚洲欧美日本在线| 久久九九99| 国产精品99久久久久久白浆小说| 91久久久久久国产精品| 欧美久久在线| 久久久精品国产99久久精品芒果| 性欧美1819性猛交| 亚洲精品乱码久久久久久日本蜜臀| 91久久精品日日躁夜夜躁欧美| 牛夜精品久久久久久久99黑人| 免费精品99久久国产综合精品| 99re66热这里只有精品4| 日韩一级在线观看| 国产农村妇女精品一二区| 欧美激情第1页| 国产欧美亚洲日本| 亚洲日本乱码在线观看| 国产精品白丝av嫩草影院 | 欧美 日韩 国产 一区| 亚洲精品视频免费| 欧美中在线观看| 亚洲欧美日韩国产一区| 欧美成人精品一区二区三区| 久久黄色影院| 国产精品大全| 亚洲国产女人aaa毛片在线| 国产亚洲精品久久久| 亚洲午夜免费福利视频| 亚洲美洲欧洲综合国产一区| 欧美一区二区三区日韩视频| 亚洲一区二区少妇| 欧美日韩一区二区三区免费看| 久久久久免费观看| 国产视频精品网| 午夜精品电影| 久久久www| 黄色亚洲免费| 久久久久久亚洲精品杨幂换脸 | 亚洲最新色图| 亚洲一区二区三区乱码aⅴ蜜桃女| 久久久久女教师免费一区| 激情成人av| 美女诱惑黄网站一区| 亚洲国产美女久久久久| 在线亚洲精品| 国产在线精品一区二区中文| 久久中文字幕一区| 在线视频欧美一区| 久久久999| 在线午夜精品自拍| 国产亚洲毛片在线| 免费亚洲一区二区| 亚洲综合99| 亚洲另类春色国产| 免费成人在线观看视频| 亚洲美女网站| 亚洲欧洲精品一区二区| 国产亚洲精品aa| 国产精品免费一区豆花| 欧美日韩国产精品成人| 欧美日韩蜜桃| 午夜精品电影| 性欧美精品高清| 新67194成人永久网站| 午夜欧美大尺度福利影院在线看| 亚洲视频网在线直播| 亚洲一区二区视频在线观看| 制服丝袜亚洲播放| 亚洲免费在线观看| 欧美亚洲一区二区在线| 欧美亚洲视频在线观看| 久久亚洲精品一区| 看片网站欧美日韩| 欧美日韩精品久久| 国产日韩av在线播放| 亚洲欧洲另类国产综合| 99视频超级精品| 欧美在线观看视频一区二区| 欧美阿v一级看视频| 亚洲欧洲免费视频| 亚洲一区二区免费| 久久成人精品电影| 亚洲国产美女精品久久久久∴| 一区二区三区欧美亚洲| 裸体一区二区三区| 国产精品青草久久| 夜夜狂射影院欧美极品| 久久免费精品日本久久中文字幕| 欧美二区在线| 午夜影视日本亚洲欧洲精品| 免费看黄裸体一级大秀欧美| 国产亚洲精品7777| 亚洲欧美日韩久久精品 | 亚洲精品久久视频| 久久aⅴ国产欧美74aaa| 一区二区欧美在线| 欧美日本乱大交xxxxx| 亚洲国产一区二区视频 | 国产视频一区在线观看| 一本一本久久a久久精品牛牛影视| 欧美一级黄色录像| 欧美一区二区三区免费视频| 国产精品久久久久久影院8一贰佰| 很黄很黄激情成人| 久久亚洲视频| 久久亚洲欧美| 亚洲另类在线视频| 日韩一级免费| 国产欧美精品在线观看| 欧美在线国产精品| 久久精品盗摄| 亚洲黄色在线视频| 一个色综合av| 狠狠色伊人亚洲综合成人| 欧美激情视频一区二区三区在线播放| 久久久久久亚洲精品不卡4k岛国| 亚洲第一精品电影| 亚洲私人影院| 亚洲狠狠丁香婷婷综合久久久| 亚洲精品乱码久久久久| 国产日韩1区| 亚洲精品视频在线看| 亚洲二区视频在线| 久久全球大尺度高清视频| 亚洲精品一区中文| 性伦欧美刺激片在线观看| 日韩一级成人av| 久久久久久久久久码影片| 亚洲深夜福利在线| 久久伊人一区二区| 久久婷婷国产综合国色天香| 国产精品国产三级国产专播精品人| 久久久久久九九九九| 欧美日韩一区二区三区在线视频| 久久野战av| 激情亚洲网站| 久久久一区二区三区| 久久精品一二三区| 国产日韩欧美电影在线观看| 亚洲精品一区二区三区不| 亚洲大片精品永久免费| 午夜精品一区二区在线观看| 欧美一级二区| 国产精品日韩精品欧美在线| 亚洲清纯自拍| 亚洲午夜国产一区99re久久| 欧美人与禽猛交乱配| 9色精品在线| 亚洲欧美日韩天堂| 国产精品日日摸夜夜添夜夜av| 亚洲影院在线|