Jump to content




SAVE | CLOUD STORAGE SOLUTION

networking pocket computer

7 replies to this topic

#1 Tytan

  • Members
  • 4 posts
  • LocationI live in my chair.

Posted 04 December 2016 - 08:21 AM

SAVE | A CLOUD STORAGE SOLUTION (kinda)


This is my first actual program, so critisize as much as you want!
Server download: pastebin get 0Edr7vmL startup
Client download: pastebin get bpnDTZ0g save
Recommended server setup: https://postimg.org/image/b32pedrgp/
Recommended client setup: https://postimg.org/image/9wit7cxor/
The client also works with pocket computers ^^

You can also manually send data to the server by using these commands in CraftOS:

lua
rednet.open("side") --Side being the side the modem is on
rednet.braodcast("the message to send","SAVE")

EDIT: Trying to implement a system that allows the user to give a path to a file, and upload that file.

Edited by Tytan, 05 December 2016 - 01:25 AM.


#2 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 04 December 2016 - 02:49 PM

both the pictures are the same.


#3 Tytan

  • Members
  • 4 posts
  • LocationI live in my chair.

Posted 05 December 2016 - 01:07 AM

View PostTheRockettek, on 04 December 2016 - 02:49 PM, said:

both the pictures are the same.
Oh xD That will be fixed. All you need for the client is a computer with a wifi modem at the back,

#4 Anavrins

  • Members
  • 775 posts

Posted 05 December 2016 - 06:01 AM

rednet.open("back")
print("START CODING NOW!")
local input = read()
rednet.broadcast(input, "SAVE")
print("Thank you for using SAVE!")
rednet.close()

I'm not sure why you didn't go with the approach of sending a file that had already been coded with "edit", instead of asking the user to obnoxiously code on one single line...

Edited by Anavrins, 05 December 2016 - 08:59 PM.


#5 Tytan

  • Members
  • 4 posts
  • LocationI live in my chair.

Posted 05 December 2016 - 10:14 AM

View PostAnavrins, on 05 December 2016 - 06:01 AM, said:

rednet.open("back")
print("START CODING NOW!")
local input = read()
rednet.broadcast(input, "SAVE")
print("Thank you for using SAVE!")
rednet.close()

I'm not sure why you didn't go with the approach of sending a file that had already been coded with "edit", instead of asking the user to obnoxious code on one single line...

Because I'm an idiot. Thanks for reminding me that it was already done in edit xD

#6 Tytan

  • Members
  • 4 posts
  • LocationI live in my chair.

Posted 05 December 2016 - 10:42 AM

I'm going to move to ask a pro, I have no clue whats going on anymore ;_;

#7 Josephnorthy

  • Members
  • 9 posts

Posted 27 December 2016 - 04:05 PM

Hey I like the idea and had I idea of how you could get the path if your still working on it :-)

#8 roger109z

  • Members
  • 53 posts
  • LocationCali beetch

Posted 16 January 2017 - 11:41 PM

after seeing this I'm kind of wanting to recreate an old code of mine and upload it here....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users