Code center > Old Suggestions Awaiting Programming

Offline FTP thingy

(1/3) > >>

Shen:
Id like to suggest an option that saves and introduces random bots to/from your own HD similar to the FTP internet sharing except offline and more reliable :)

 IMO very useful for Evolution sims and should be fairly easy to implement since half the stuff needed is already availiable from the Net sharing.

PurpleYouko:
I think you could actually do this now with the existing internet sharing system. Just set the server address to your own PC and it will share files internally. Then you can manually mess around with the files in the specified folder if you like.

Shen:
IIRC I did figure out how to do it but its well complex, as well as requiring you to have an active net connection and an FTP server on your own computer so that you connect to yourself. All in all to much trouble to sort out.

Would it be possible to look into this or is it to much work for little reward? Personally I think that opening up the ecosystem up like this would do wonders.

Carlo:
No, you shouldn't need an active connection, just a simple ftp server (I used to run cerberus ftp, try it). When you're not connected to the internet, your address is 127.0.0.1
Anyway, adding the ability to use a local dir would be useful and simple.

Also, I figured out a new way to implement a good internet sharing server. I've been learning php and mysql in the last months, so this is how I would do it now:

DB should pretend to be a web browser, that is, it should communicate with a web server sending http headers and messages (not difficoult to do)
The server would be the web server of darwinbots.com.
DB would talk to the server to require a robot or to request saving of a robot; every request to save something should carry a security code (for example, a hash of the robot dna) to discourage intrusions and misuse.
On the server side, all requestes would be processed by a php script, retrieving and saving robots to a mysql database.

The system would be much more flexible than it is now, allowing a centralized management of the server files, separate groups for each kind of sim, and so on. I could write the php/mysql server part, if someone wants to write the client code.
I definitely think that a good sharing feature should be present in any major future release of DarwinBots.

Numsgil:
I had a similar idea Carlo but I had no idea how to implement it.  If you could set up such a system, my webspace at darwinbots.com does indeed have a MySQL thingy.

Navigation

[0] Message Index

[#] Next page

Go to full version