Thread: c++ download files from server

  1. #1
    Registered User
    Join Date
    Sep 2012

    c++ download files from server

    Hi. Im searching here for some advices.

    My problem:
    i wanna download some files from web server to my pc with my application.

    Whats the safest way to do that ? ( so noone catches that file and use it )
    That file is very important so i should not let anyone else get it or leak it.

    Should i download it via ftp, ftps ? what tricks u use ?

    Thanks !!!
    Last edited by Ideal88; 09-13-2012 at 06:31 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    I would not use any tricks. Rather, I would establish a secure channel and make the transfer after authenticating with the server. Exactly how you should go about doing that depends on what you are doing and what software you have on your server that would support such a thing.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Download Files
    By nathanpc in forum C++ Programming
    Replies: 7
    Last Post: 07-13-2009, 03:21 AM
  2. Download large files with dial-up...
    By Yarin in forum A Brief History of
    Replies: 12
    Last Post: 10-18-2007, 08:02 PM
  3. How to connect to an FTP server and download a file?
    By Comeback Kid in forum C Programming
    Replies: 1
    Last Post: 11-19-2005, 08:44 PM
  4. I need a site where i can download header files!
    By [SuRaNa] in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2002, 06:21 AM
  5. Where can i download C++ installation files and tutorials?
    By shaijujose in forum C++ Programming
    Replies: 1
    Last Post: 05-08-2002, 10:10 PM