Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All! I've been writing a C program to send a .txt file to webserver on host public. Anyone can help me? Link References: 1) linuxquestions.org/questions/programming-9/tcp-file-transfer-in-c-with-socket-server-client-on-linux-help-with-code-4175413995/ 2) wiki.linuxquestions.org/wiki/Connecting_a_socket_in_C Because i've ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    1

    Write a C program send data to webserver


    Hi All!
    I've been writing a C program to send a .txt file to webserver on host public. Anyone can help me?

    Link References:
    1) linuxquestions.org/questions/programming-9/tcp-file-transfer-in-c-with-socket-server-client-on-linux-help-with-code-4175413995/
    2) wiki.linuxquestions.org/wiki/Connecting_a_socket_in_C

    Because i've made 15 posts yet, i can't send direct link. Sorry about this.
    Thanks.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Hi,

    those links don't help to understand your problem very much. can you explain what exactly it is you wish to accomplish w/your C prog?

    For example, do you wish for your C prog to function as a CGI script that sends HTML output to the browser?

    Or, do you wish for the C prog to literally send (via sockets or some file transfer protocol) the file to the webserver?

    Or something else?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •