Thread: FTP client in C???

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    60

    Unhappy FTP client in C???

    Hi everybody,

    here's the problem: this is my first networking class, and our project is to develop an FTP client... I am just clueless!!!

    I have never done any network programming before, and we didn't even do anything in class that comes anywhere close to doing something like that. The teacher said that developing the FTP client wouldn't be hard (huh???), but he wants it fast.

    I'd like some resources that could help me do my project. Once again, besides a little program about socket programming (that we didn't actually have to write, but just saw in class), we didn't do any kind of network programming!!

    Thanks in advance,
    "Shallow men believe in luck. Strong men believe in cause and effect."
    -Ralph Waldo Emerson

  2. #2
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    You can search some projects in planet-source-code or you can try to read "Beej Network Guide" and try to build one by yourself.

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    78
    Load this URL: http://tangentsoft.net/wskfaq/

    Skip down to the examples. Start with the simple client and study the basic client code. This will give you the basic communication part of the program. You will need to lookup the protocol and port for ftp. Once you have the basic communication working you can start to add the many features generally found in an ftp client.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    The FTP RFC . Happy reading
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User
    Join Date
    Nov 2002
    Posts
    60
    Thank you all for the ressources... I guess I'm going to have a lot of reading to do ;-)

  6. #6
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Yea, just study Sockets and the RFC above. You'll get it in no time.
    "What are you after - the vague post of the week award?" - Salem
    IPv6 Ready.
    Travel the world, meet interesting people...kill them.
    Trying to fix or change something, only guaruntees and perpetuates its existence.
    I don't know about angels, but it is fear that gives men wings.
    The problem with wanting something is the fear of losing it, or never having it. The thought makes you weak.

    E-Mail Xei

  7. #7
    Registered User
    Join Date
    Nov 2002
    Posts
    60
    Thanks Xei... I'll do that!!
    "Shallow men believe in luck. Strong men believe in cause and effect."
    -Ralph Waldo Emerson

  8. #8

  9. #9
    Registered User
    Join Date
    Nov 2002
    Posts
    60
    samps005,
    I started reading this tutorial... It's taking me a lot of time, but I'm starting to get it... slooooowly
    "Shallow men believe in luck. Strong men believe in cause and effect."
    -Ralph Waldo Emerson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. multiple forks in one client connection (ftpclient)
    By Dynamo in forum Networking/Device Communication
    Replies: 5
    Last Post: 01-16-2011, 12:41 PM
  2. [HELP] FTP Client Stuck At 220 Welcome Message
    By iqueen in forum C Programming
    Replies: 0
    Last Post: 04-21-2009, 12:29 AM
  3. FTP Client
    By waldoayo in forum Networking/Device Communication
    Replies: 5
    Last Post: 04-29-2006, 11:49 AM
  4. Need help with ftp client programming
    By ddolddolee82 in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-11-2006, 06:57 AM
  5. [C++] FTP client problem (winsock)
    By Niekie in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-19-2003, 09:23 AM