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

面對現實,超越自己
逆水行舟,不進則退
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>
            欧美精品在线看| 亚洲网站在线| 亚洲一区二区视频| 一区二区免费在线播放| 亚洲精品韩国| 国产精品99久久不卡二区 | 一区精品在线| 国内揄拍国内精品久久| 在线观看一区二区视频| 亚洲精品日产精品乱码不卡| 日韩午夜电影av| 羞羞色国产精品| 裸体丰满少妇做受久久99精品| 免费欧美日韩| 一区二区av在线| 久久精品夜色噜噜亚洲a∨| 免费看av成人| 国产精品嫩草99av在线| 在线日本高清免费不卡| 中日韩美女免费视频网址在线观看 | 国产精品99久久久久久宅男| 先锋影音国产精品| 欧美国产综合| 国产午夜精品全部视频在线播放| 亚洲成色www8888| 亚洲男人第一网站| 亚洲高清电影| 午夜精品久久久久久久久| 欧美承认网站| 激情久久久久久久| 欧美亚洲一区| 亚洲精品中文字幕在线| 久久久www| 国产精品色网| 亚洲天堂网在线观看| 欧美18av| 欧美资源在线观看| 国产精品久久久久国产a级| 亚洲精品久久视频| 老牛影视一区二区三区| 亚洲一区二区动漫| 欧美久久久久久蜜桃| 在线观看久久av| 亚洲一级黄色片| 一区二区激情视频| 你懂的成人av| 樱桃视频在线观看一区| 久久不射中文字幕| 亚洲欧美在线免费| 国产精品国产亚洲精品看不卡15| 亚洲精品国产无天堂网2021| 美乳少妇欧美精品| 久久综合免费视频影院| 精品99视频| 麻豆精品视频在线观看视频| 久久精品二区| 狠狠综合久久av一区二区小说| 久久国产精品色婷婷| 欧美一区成人| 国产在线不卡精品| 蜜臀av国产精品久久久久| 久久精品中文字幕一区| 伊人夜夜躁av伊人久久| 模特精品裸拍一区| 欧美ed2k| 亚洲永久免费av| 亚洲欧美日韩网| 国产综合久久久久久鬼色| 久久久久久久成人| 久久全球大尺度高清视频| 91久久久久久| 99热这里只有成人精品国产| 欧美日韩中文字幕精品| 欧美在线三级| 久久夜色精品国产| 日韩视频一区| 亚洲午夜高清视频| 国产一区二区三区在线观看视频 | 国产精品久在线观看| 午夜亚洲性色福利视频| 午夜精品在线观看| …久久精品99久久香蕉国产| 欧美激情一区二区久久久| 欧美日韩免费观看一区二区三区| 亚洲免费在线观看视频| 久久国产精品久久久久久电车| 亚洲欧洲日本国产| 亚洲一区二区三区视频| 一区二区在线不卡| 亚洲免费av网站| 国内精品嫩模av私拍在线观看| 欧美a一区二区| 欧美亚一区二区| 欧美3dxxxxhd| 国产精品综合久久久| 亚洲高清在线| 国内自拍一区| 99在线|亚洲一区二区| 在线成人国产| 亚洲欧美日韩综合一区| 日韩视频三区| 久久午夜电影网| 午夜欧美视频| 在线亚洲国产精品网站| 久久久www免费人成黑人精品 | 午夜精品免费视频| 亚洲乱码日产精品bd| 亚洲女人av| 在线视频精品一区| 老牛影视一区二区三区| 香蕉久久精品日日躁夜夜躁| 欧美成人在线免费观看| 久久九九精品99国产精品| 欧美日韩精品二区| 欧美jjzz| 在线观看欧美日韩国产| 亚洲欧美综合国产精品一区| 在线亚洲精品| 欧美极品一区| 亚洲国产成人在线| 亚洲国产精品传媒在线观看| 午夜精品理论片| 欧美主播一区二区三区| 欧美午夜视频一区二区| 亚洲人体一区| 一区二区三区黄色| 欧美精品福利| 亚洲国产欧美日韩另类综合| 亚洲国产激情| 蜜桃精品久久久久久久免费影院| 久久婷婷人人澡人人喊人人爽| 国产农村妇女精品一区二区 | 欧美福利一区二区| 欧美成人一区在线| 亚洲国产精品va在线看黑人| 久久久午夜电影| 欧美 日韩 国产精品免费观看| 国产在线观看一区| 欧美在线观看视频一区二区| 久久精视频免费在线久久完整在线看| 国产精品久久久久久久免费软件| 9i看片成人免费高清| 亚洲自拍偷拍福利| 国产精自产拍久久久久久| 性欧美1819性猛交| 美女国内精品自产拍在线播放| 在线观看欧美| 欧美日韩免费在线观看| 99精品视频免费| 久久精品免费看| 亚洲激情二区| 国产精品福利在线观看| 亚洲一区在线播放| 久久午夜色播影院免费高清| 亚洲国产一区视频| 国产精品99一区| 欧美一区国产在线| 欧美激情区在线播放| 亚洲欧美成人网| 1024成人| 国产精品入口麻豆原神| 卡一卡二国产精品| 一区二区日韩精品| 久久视频在线看| 一区二区三区精品视频| 国产拍揄自揄精品视频麻豆| 久久久久中文| 中文日韩在线| 欧美1区免费| 99re66热这里只有精品4| 99热精品在线| 久久久久天天天天| 99在线精品观看| 国产日本欧美视频| 欧美岛国激情| 欧美在线视频一区二区| 亚洲精品欧美日韩专区| 久久国产精品一区二区| 亚洲精品综合精品自拍| 国产欧美亚洲精品| 欧美人与性动交α欧美精品济南到| 亚洲欧美色婷婷| 亚洲免费电影在线观看| 免费在线看成人av| 久久国产免费| 午夜欧美电影在线观看| aⅴ色国产欧美| 在线欧美日韩国产| 国产欧美日韩另类视频免费观看| 欧美成人午夜剧场免费观看| 性欧美超级视频| 亚洲一区二区欧美日韩| 亚洲精品三级| 91久久精品视频| 欧美韩日一区| 欧美成年人视频网站欧美| 欧美伊人久久久久久午夜久久久久 | 午夜国产精品视频| 99精品视频免费观看| 亚洲第一黄网|