Hey Stefan,
the updater task is really not trivial. Depending on the download target, you would need to implement different protocols. For example, wget commonly uses http requests, sftp uses the ftp and scp uses ssh/ftp.
So, how exactly do you want to download files? If you want to write an general purpose updater which handles multiple download strategies, it will be a good portion of software architecture to apply.
The best way to start could be an "easy" http-request downloader which sends GET messages to the server. The protocol is very well described.
Cheers, Mario
Am 05.03.2013 23:07, schrieb Riccardo Bestetti:
An updater for ReactOS? It's something you can do by just downloading a file, it is way more complex... And if you can't even download a file from the Internet maybe you should dedicate yourself to a easier project :) Sorry if it sounds rude, it is not my intention, I'm just sleepy and I can't find the right words...
Il giorno 05/mar/2013, alle ore 23:01, "Stefan Naumann" snaumann2912@yahoo.de ha scritto:
Hey there,
I'm doing an updater for ReactOS and I need code, that can download files from a server - like a webserver. Something like wget under Linux. I don't have the knowledge yet, to implement this on my own, so I used for the updater-Server wget under Linux and wanted to ask you, whether someone of you can help me here and write nice code, that is well explained in comments, so I can learn from it and the updater gets finished.
Thank you very much.
Regards Stefan Naumann
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev