Write to ftp

This is a discussion on Write to ftp within the C++ Programming forums, part of the General Programming Boards category; Like you have Code: ofstream MyFile MyFile.open("Log.txt"); MyFile << "Example" << endl; MyFile.close(); i wanna do that with a file ...

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    61

    Write to ftp

    Like you have
    Code:
    ofstream MyFile
    MyFile.open("Log.txt");
    MyFile << "Example" << endl;
    MyFile.close();
    i wanna do that with a file on an ftp server, how would i do that?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reroute where programs write to
    By willc0de4food in forum C Programming
    Replies: 7
    Last Post: 09-21-2005, 04:48 PM
  2. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  3. Whats FTP
    By Stan100 in forum Tech Board
    Replies: 13
    Last Post: 01-22-2004, 04:10 PM
  4. [C++] FTP client problem (winsock)
    By Niekie in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-19-2003, 09:23 AM
  5. write in c
    By PutoAmo in forum C Programming
    Replies: 6
    Last Post: 04-03-2002, 06:53 PM

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