Dropbox is a file hosting service that offers cloud storage, file synchronization, and client software. Dropbox allows users to create a special folder on each of their computers, which Dropbox then synchronises so that it appears to be the same folder (with the same contents) regardless of which computer is used to view it. Files placed in this folder also are accessible through a website and mobile phone applications.
Apart from just sharing your files it can be used for many other exciting purposes too.for example hosting your websites . Yeah.. you will never have to pay for your hosting needs if you know to tweak Dropbox for your hosting space, and second is what I am going to tell you in this article its about accessing your PC/laptop remotely without even having the knowing those SSH and DynDNS to track your dynamic IP, its simple, clean and powerful.
To access all your files ( even those which are not in your Dropbox folder).
To Execute a Terminal Command (Remotely.. best for shutting Down the PC when you away.)
And many more…
Standalone Drop box Desktop App
(Download Dropbox desktop App from their official web site.)
Any mobile App which can connect you to your Dropbox Account . and has a decent text Editor.
Get which i (for my Android) used X-plore .
Python should be installed. This could be done with ‘C’ , Java whatever… , but I am too lazy to code in those language after working on Python.
The executable files which can be placed in Dropbox folder for the magic to happen (of course you can write better than me, but still i am sharing mine).
Rest is same :), But the command you need to run on the terminal will be of windows , like dir…etc..
1. Install all the above mentions.(Create a Dropbox account which is obvious)
2. download the Dropbox_magic.zip, extract it (into your desktop’s Dropbox folder) you will get three files:
startup: Place this file as startup application i.e. make it run every time your system boots.
(or run it and leave when you are going away)
magic.py: This files reads cmd.txt and execute the text.
( from moving non-Dropbox files .. like mv Desktop/ratan.zip Dropbox/,
to shutting Down the PC with command shutdown 0)
cmd.txt : File containing the commands to be executed.
That’s it you are done.!!
Now , open you phone application . connect it to your Dropbox account .change the content of the file (cmd.txt) to remotely access your computer ..
some of the code i tried are :
ls-all > subtext ( this command wrote the result of ls -all in a file ls.txt so that i can see remotely all the present files and directory on my PC )
shutdown 0 ( to shutdown my PC remotely )
And so many …
while 1 :
f = open(‘cmd.txt’)
lines = f.readline()
if cmp(“1”,lines) :
startup -for Unix System
statup.bat -for windows
Source files can be downloaded from :- blog.ratankumar.org
Latest posts by rats (see all)
- Remote Access to PC (secure) through a Dropbox Account - March 1, 2013