FTP File Browser (with source!)

Sample Image

Environment: VC6 SP2, NT4 SP5

Many times I have needed to browse an FTP site and download a file. However, I could never locate any code to show me how. Therefore, I wrote a C++ class that enables you to browse and download files from any FTP site.

To use this class, simply insert the following files into your project:

  • FtpFileBrowse.cpp
  • FtpFilebrowse.h
  • CProp.cpp
  • CProp.h
Once you've done that, all you need to do is instantiate a FtpFileBrowse object and call its SetServer and DoModal methods.

 FtpFileBrowse myfile;
 myfile.SetServer("mozart","viragava","def123");
 if(myfile.DoModal()==IDOK)
	MessageBox(myfile.GetFilePath());

Downloads

Download demo source code - 29 Kb
Download demo application - 19 Kb


Comments

  • http://www.officialcowboysjerseyshop.com/miles+austin+jersey+nike+elite-c-6_16.html tuctanneguina

    Posted by bereBlepbal on 11/07/2012 12:19pm

    kneessystek Andre Johnson Jersey Haloti Ngata Black Jersey Ray Lewis Black Jersey

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

  • The operational costs of managing an x86 base are taxing IT budgets, making it difficult to fund and staff new initiatives. Today's IT organization must seek efficiencies in its operations and shift to a more agile infrastructure that's flexible enough to adapt to future changes in the business. Read this Q & A session with Jed Scaramella, research manager for IDC's Enterprise Platforms and Data Center Trends, to learn how the integrated nature of the blade platform delivers critically needed efficiencies …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds