Thread: Little help - sockets - ftp

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    3

    Little help - sockets - ftp

    Hello I'm trying to write a simple ftp library in C, so I can use it after in my programs
    Now I'm stuck not really in a programming question, and yes more logical and more about the protocol itself. I tried to read the RFC but still couldn't get really any idea how do I send a file to the server...

    Is that right that I need to enter PASV, and then STOR the file in the server? I'm lost, I'll try to read the RFC again

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Get http://www.ethereal.com/
    It's a good idea to have this anyway for all sorts of network problems

    Then watch what happens when you use FTP to send a file, using your standard FTP application.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    3
    Thank you very much, sorry for bothering with those simple questions

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  2. FTP and Ident Server :: Winsock
    By kuphryn in forum Networking/Device Communication
    Replies: 2
    Last Post: 03-13-2004, 08:16 PM
  3. [C++] FTP client problem (winsock)
    By Niekie in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-19-2003, 09:23 AM
  4. Starting window sockets
    By _Cl0wn_ in forum Windows Programming
    Replies: 2
    Last Post: 01-20-2003, 11:49 AM
  5. FTP Server :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 10-03-2002, 07:14 PM