Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: FTP requests using sockets  (Read 1971 times)

0 Members and 1 Guest are viewing this topic.

Niely

  • Full Member
  • ***
  • Posts: 101
    • View Profile
FTP requests using sockets
« on: January 28, 2015, 10:19:20 pm »
Hello

I was wondering, for some reason I need to use sockets to send a request to a FTP server; instead of the FTP module SFML has.

So, SFML sockets to send something to a FTP-server.
The only thing I need to send, is a request and a login. Nothing more, no uploading or something.

Is it possible to do this?
Sending the requests isn't that hard, but I've got problems figuring out how to send a login requests.

Thanks for reading,
Niely

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: FTP requests using sockets
« Reply #1 on: January 28, 2015, 10:25:27 pm »
I'd say, have a look at the source code of sf::Ftp, it's really simple. But why would you have to duplicate it instead of just using it?
Laurent Gomila - SFML developer

 

anything