SFML community forums
General => Feature requests => Topic started by: 1aam2am1 on August 25, 2015, 12:22:24 am
-
Add a FTP server in SFML.
-
Really? http://www.sfml-dev.org/tutorials/2.0/network-ftp.php
-
@up
This is a FTP client.
I told about the server.
-
Oops sorry about that. To be fair an FTP client itself is sort of out of the scope of multimedia anyway so a server would cross the line. By extension, an argument could be made for a HTTP server as well I suppose. Is there any reason you cant use this? https://filezilla-project.org/download.php?type=server
-
Add a FTP server in SFML.
This is really a nice, useful and complete description of your request. Thanks.
-
Add a FTP server in SFML.
This is really a nice, useful and complete description of your request. Thanks.
My sarcasm-detector is going crazy.
But I'm not sure everyone has on of these (though they are really usefull).
-
I agree with Laurent. Provide more details about your proposal such as how it will integrate with the current code (code snippets or something) and provide use cases. How would such a feature benefit SFML?
-
Maybe I'm missing the point but why, on an FTP server, would you need a multimedia library?
-
BTW, our philosophy for SFML: http://www.sfml-dev.org/contribute.php#philosophy
-
FTP server is need me to send files to my other programs such as updated maps, textures, sounds.
Creat game server who would have unusual map.
This class should have functions such as:
virtual bool onLoging(Client&);
virtual bool onConnect(Client&);
virtual void onDisconnect(Client&);
virtual bool onChangingDirectory(Client& std::string name_of_directory);
virtual bool onSendingFile(Client&, std::string name_of_file);
virtual void onOtherMessage(Client&, Message);
And menu others functions.
-
You don't need FTP for that.
SFML already provides TCP and UDP sockets and that's all you really need to transfer files.
IMHO; adding a FTP server to SFML would be a big mistake. It's entirely out of scope for a multimedia library and would likely have very few users, yet still clutter up the library for everyone.
Edit: if you insist on FTP, why can't you just use one of the many pre-existing FTP servers that already exist?