News for hackers. Stuff that matters.
Re:Personal File Backup Server by mbreese on Wednesday February 27, 2013 @11:10PM (#5296925)
It looks like this doesn't work with folders... or have some kind of hash to detect alteration. While I appreciate you sharing the project, this is probably premature at this point.

Here are somethings that I would consider adding:

    * a README  (update: done! :) )
    * consider making this work with virtualenv by default. This way you can install
      Flask as a library without making me install it for the system. Adding a short
      bash wrapper script really helps here.
    * support for folders
    * sha1 hashes to ensure your files are consistent
    * de-duplication of chunks would be a good thing to add too
    * The way you are sending data now looks like you are using GETs for everything. 
      If you are really going to make this work, you should use GETs for downloading and PUTs or POSTs for uploading.
Re:Personal File Backup Server by max0035 on Wednesday February 27, 2013 @11:19PM (#5296954)
Yes, this is still very premature, and more of a learning project for me.

I know about no support for folders, I didn't have time to fix that yet, but I will!

Virtual enviornment is interesting, I will look into that.

* It does check for alterations actually then uploads the altered file, look at the main loop in the client.

The way I am sending files now is awful! I plan on fixing all thos, thank you for the response. :)

Re:Personal File Backup Server by mbreese on Wednesday February 27, 2013 @11:21PM (#5296959)
Good luck to you. I hope that you come up with a worthwhile project that you can learn a ton with.

But, you it probably shouldn't have been submitted to the wolves in this state :).

Re:Personal File Backup Server by max0035 on Wednesday February 27, 2013 @11:24PM (#5296972)
Haha, thank you sir! And don't worry, I take pleasure in feeding the wolves. :p
Re:Personal File Backup Server by 27182818284 on Wednesday February 27, 2013 @11:41PM (#5297034)
As soon as I clicked the source and didn't notice a binary diff being done for files I realized it was a toy/learning project, but my reaction was "Hell yeah!" anyway. Keep it up.
Re:Personal File Backup Server by ekianjo on Wednesday February 27, 2013 @11:25PM (#5296974)
If you can explain in the readme how to set this up for first usage it would great.
Re:Personal File Backup Server by max0035 on Thursday February 28, 2013 @06:43AM (#5298208)
I will add that in the next update.