c++ download files from server

This is a discussion on c++ download files from server within the C++ Programming forums, part of the General Programming Boards category; Hi. Im searching here for some advices. My problem: i wanna download some files from web server to my pc ...

  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    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 !!!
    Ideal88
    Last edited by Ideal88; 09-13-2012 at 06:31 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,616
    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 Cprogramming.com
    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, 07: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, 05: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21