Dropbox API Saver and Chooser Tutorial

Dropbox API Saver and Chooser Tutorial

Dropbox API Saver and Chooser Tutorial

Are you into being on the go and using email as a way to keep valuable data safe (“in the ether”), or used as a backup, until you get to your destination? Today, after yesterday’s Dropbox API Chooser Primer Tutorial, we continue our discussion regarding alternatives to email with the excellent Dropbox functionality, and today delve further into its API. Let’s just reiterate, below, a discussion (by Wikipedia) of Dropbox.

Dropbox is a file hosting service operated by Dropbox, Inc., 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 synchronizes 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.

Dropbox, Inc., was founded in 2007 by Drew Houston and Arash Ferdowsi, as a Y Combinator startup company.[4]

Dropbox provides client software for Microsoft Windows, Mac OS X, Linux, Android, iOS, BlackBerry OS and web browsers, as well as unofficial ports to Symbian, Windows Phone, and MeeGo.

Well, Dropbox has the added dimension of maintaining an API including …

  • a chooser … like “browser” or “download” (to you, the client)
  • a saver … like “save as” or “upload” (to Dropbox)
  • a business API “core functionality” (for business usage purposes)

Building on yesterday’s Dropbox API Chooser Primer Tutorial as shown below, today we explore the “saver” and the “chooser” (in the mode of “JavaScript” (but please note you can also get support for “iOS” and/or “Android” mobile functionality)), by getting the “saver” functionality to help us upload files to the Dropbox and the “chooser” functionality to be able to show those uploaded files, and .doc* and .pdf and .txt (this .txt “extra” we did by changing dropboxChooser.html).

We’ve been trying to keep the server side out of consideration to simplify the situation, but, with uploading, if you don’t resort to Ajax ideas, which we aren’t doing here today, you may need a way to tell that someone is not uploading some huge file, so we have some PHP introduced today to check for this as you’ll see with our very simple PHP source code you could call dropboxSaver.php … if you want to undo this PHP, perhaps because you have no PHP, look for any code referencing the “iframe” HTML element called “myiframe” to not have this check for file size be operational.

You can see all this in action by viewing today’s tutorial and/or you can view our HTML/JavaScript source code you could call dropboxSaver.html and/or you could try a live run.

Hope you really get something out of the excellent Dropbox and its powerful functionality … more powerful than this we hope … chortle, chortle.


Previous relevant Dropbox API Chooser Primer Tutorial is shown below.

Dropbox API Chooser Primer Tutorial

Dropbox API Chooser Primer Tutorial

Are you into being on the go and using email as a way to keep valuable data safe (“in the ether”), or used as a backup, until you get to your destination? Today, we finally get back to continue our discussion regarding alternatives to email with the excellent Dropbox functionality, and today delve into its API, “dipping our toes” so to speak … because “there is more” (no, not “steak knives”). Let’s just reiterate, below, a discussion (by Wikipedia) of Dropbox.

Dropbox is a file hosting service operated by Dropbox, Inc., 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 synchronizes 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.

Dropbox, Inc., was founded in 2007 by Drew Houston and Arash Ferdowsi, as a Y Combinator startup company.[4]

Dropbox provides client software for Microsoft Windows, Mac OS X, Linux, Android, iOS, BlackBerry OS and web browsers, as well as unofficial ports to Symbian, Windows Phone, and MeeGo.

Well, Dropbox has the added dimension of maintaining an API including …

  • a chooser … like “browser” or “download” (to you, the client)
  • a saver … like “save as” or “upload” (to Dropbox)
  • a business API “core functionality” (for business usage purposes)

Building on DropBox Primer Tutorial as shown below, today we explore the “chooser” (in the mode of “JavaScript” (but please note you can also get support for “iOS” and/or “Android” mobile functionality)), and it’s great … there are no other words for it … the way you can segment functionality by file extension is “just the bee’s knees” in my humble opinion. Maybe you’ll agree, and you can see it in action by viewing today’s tutorial and/or you can view our HTML/JavaScript source code you could call dropboxChooser.html (with which, in the code, you can see that we disallow *.jpg (image) (but we show that they can work in the tutorial) but allow *.doc* (Word documents) and *.pdf (Portable Document Format), via the one line of code going …

extensions: ['.pdf', '.doc', '.docx'], //, '.jpg'],

… cute, huh?) and/or you could try a live run (for *.doc* and *.pdf files).

Hope to see you again soon.


Previous relevant DropBox Primer Tutorial is shown below.

DropBox Primer Tutorial

DropBox Primer Tutorial

Are you into being on the go and using email as a way to keep valuable data safe (“in the ether”), or used as a backup, until you get to your destination? Or are you already using DropBoxes as an alternative to this … spoilsport! Never mind … “DropBox is an alternative to email.” So there, nyaaaaaargh. Guess a lot of people are using iCloud or Google Drive or other services for this same computer storage purpose at a bigger level. Below is a definition of DropBox by Wikipedia.

Dropbox is a file hosting service operated by Dropbox, Inc., 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 synchronizes 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.

Dropbox, Inc., was founded in 2007 by Drew Houston and Arash Ferdowsi, as a Y Combinator startup company.[4]

Dropbox provides client software for Microsoft Windows, Mac OS X, Linux, Android, iOS, BlackBerry OS and web browsers, as well as unofficial ports to Symbian, Windows Phone, and MeeGo.

Enjoy the tutorial that shows some DropBox functionality here.

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, Networking, Tutorials and tagged , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

14 Responses to Dropbox API Saver and Chooser Tutorial

  1. I just put the link of your blog on my Facebook Wall. extremely good weblog indeed.,Ò€ℒ-Ò€,

  2. Spot lets start work on this write-up, I really believe this incredible site requirements additional consideration. IÒ€ℒll a lot more likely be once again you just read additional, thank you that data.

  3. experienced says:

    I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get bought an impatience over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this increase.

  4. Wow, amazing weblog format! How lengthy have you been running a blog for? you make blogging glance easy. The whole glance of your website is excellent, let alone the content!

  5. I enjoy the efforts you have put in this, regards for all the great blog posts.

  6. honored says:

    Just wanna tell that this is extremely helpful, Thanks for taking your time to write this.

  7. happiest says:

    I am always browsing online for ideas that can help me. Thank you!

  8. Beautiful says:

    I do agree with all of the concepts you’ve introduced in your post. They are very convincing and can certainly work. Nonetheless, the posts are too short for newbies. May just you please extend them a bit from next time? Thanks for the post.

  9. tops says:

    I loved as much as you will receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this hike.

  10. What i don’t realize is in truth how you’re not actually a lot more neatly-liked than you may be right now. You’re very intelligent. You recognize thus significantly with regards to this subject, produced me individually believe it from so many varied angles. Its like women and men aren’t interested except it is something to do with Woman gaga! Your personal stuffs excellent. Always handle it up!|

  11. results says:

    Certainly interesting perception, thank you for writing.. Get pleasure from the post you available.. Adoring the contribution.. thanks a lot My web searches seem full.. thanks.

  12. Somos una divisiΓ³n de Data System reparacion ordenadores Madrid, empresa fundada en EspaΓ±a con el propΓ³sito de proveer a la sociedad de servicios especializados en reparaciΓ³n de portatiles, asΓ­ como ofrecer piezas repuestos de calidad. MisiΓ³n:Nuestra MisiΓ³n esta basada en la satisfacciΓ³n de nuestros clientes y distribuidores, ofreciendo productos y servicios de calidad. VisiΓ³n:Lograr ser una de las empresas de reparaciΓ³n de portatiles reconocida a nivel nacional, apoyΓ‘ndonos en nuestra red de distribuidores. Desayuno y a la hora convenida traslado al aeropuerto de Atenas para salir en el vuelo de regreso a EspaΓ±a.

  13. No 1 says:

    Isn’t it excellent after you get a good submit? Isn’t it amazing when you locate an excellent submit? sure, investigation is having to pay off. Is not it amazing whenever you find a great post?

  14. BETHANIE says:

    Your style is really unique in comparison to other folks
    I’ve read stuff from. Thank you for posting when you have the opportunity,
    Guess I will just book mark this web site.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>