Thread: File Transfer

  1. #1
    Registered User rogue's Avatar
    Join Date
    Oct 2005
    Posts
    9

    File Transfer

    Does anyone know how to transfer a file in c++ under linux??

    Thx

    -rogue

    _____________________
    Not Everyone is Talented...
    www.roguespyder.com

  2. #2
    Registered User
    Join Date
    Jan 2006
    Location
    Washington D.C.
    Posts
    25
    Transfer how, under what medium? Tell us how you wanna do it, and then we can guide you.

  3. #3
    Registered User rogue's Avatar
    Join Date
    Oct 2005
    Posts
    9

    Transfer How

    Any way possible... Ive done some socket stuff in VB but im not quite sure how to transfer entire files in C++ w/o using winsocks... Maybe an ftp class or something derived.. Should it just be a loop through the file stream in segments or is there say an ez button..ie.. ftp_upload(fopen(file,'r'));


    thx

    -rogue

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Yet another "vague question" nominee.

  5. #5
    Registered User rogue's Avatar
    Join Date
    Oct 2005
    Posts
    9

    not vague

    its not vague??

    im trying to send a file from point A across the internet to point B using c++ in anyway possible.




    -rogue


    _____________________
    Not everyone is talented...
    www.roguespyder.com

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    How about looking in the networking forum and reading the sticky threads you'll find there.

  7. #7
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    If you're allready familiar with windows sockets then you should find sockets on linux almost the same.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  3. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM