Process Dropbox folders and files from an external app - dropbox

I'd like to automate a process whereby a client can place lots of files into Dropbox, and then I can read all the files from Dropbox and create database entries for each file/folder within the client's CMS. The CMS is a C# .NET MVC app with lots of client-side javascript. What are my options for tapping into Dropbox from either C# or javascript? Has anyone integrated a C# web app with Dropbox in this way? Can I use the REST api from C# or js?
If this works I'd like to automate the process for many clients, and make Dropbox an integral part of the CMS.
Thanks.

Yes, you can use the REST API from C# and it's the best way to go; you kind of answered yourself.

Related

How can I expose my ASP.NET Core web api to be used without http?

I know this sound strange, but please bear with me. We have a legacy desktop app (DataFlex), and we are developing a new web app. Both apps share the same business logic. We are in the process of moving the business logic to a centralized project that is exposed as an asp.net-core web api, to be used both by the desktop app and the web app.
So far, we have been able to access the new business logic project from the legacy desktop app via COM, but because maintaining interfaces and DataFlex wrapper classes is a pain, we are hoping to find an easier way.
We could access the business logic using the web api via http. But many users are still only using the desktop app, and setting up web servers for all of them is not something that can be done anytime soon. So we want to call the asp.net-core project in a way that resembles the way a web app does it, passing method calls as strings (JSON?)
Is this feasible? If so, how?

Creating Mobile app with MVC4

i need to know that weather i can create a mobile app using ASP.NET MVC4 framework. My concern is not about mobile sites rather apps that can be installed on iphone/android and also can be uploaded to apple store.
If yes then please suggest some reference links to achieve the same.
Thanks
rohit
Yes, sort of.
You can use frameworks like PhoneGap to create an iPhone/Android app with HTML, CSS and JavaScript. PhoneGap will make requests to your server, so that can be implemented in whatever you want. If you want to use ASP.NET MVC, I suggest you return JSON data structures to your mobile app.
You're probably better off writing a Web API than an MVC website for this, actually.

Is there no way to create a folder in Spotify using the web API? Is there a way creating a PC app instead?

I have scoured the internet, and at this point is there anything remotely programmatic that will create a folder?
Not using the Web API, no.
However, libspotify has an API for creating folders: sp_playlistcontainer_add_folder(). This isn't a Web API - you'll need to write a native application.

CakePHP and RESTful with PhoneGap

I have built a cakephp site with RESTFul calls. Happy to say these calls work when using curl from another php site. (This is all testing at the moment)
The next stage is setting up authorization, from my understand I'd be looking at either basic or digest loging to make RESTful calls.
I'd like to build a phonegap app, that requires login. Would RESTful calls to CakePHP be the way to go. i.e making a RESTful API for my site?
I'd like to provide an API key. How would this key be secured in a phonegap app?
How secure is phonegap in general? If the files for an app are css, html, js can't the app be broken into and the files revealed
Just looking for general advice and a direction to continue researching.
I believe what you need would be a stateless authentication system. CakePHP comes with 2 built in. Take a look at this example

What is a robust browser-based method for uploading (very) large files?

I'm looking at replacing our current file-upload solution, a bespoke java application which transmits files and metadata using sftp, with a browser-based solution. My intention is to have finer-grained control over who can and cannot upload by tying the upload to an authenticated session in a web app. This will also enable me to collect reliable data about who uploaded what when, etc, in a straight-forward manner.
My concern is that we need to be able to support uploading huge files- think 100GB or more. As such, I don't think standard HTTP is appropriate- I don't trust it to be reliable, and I want to be able to provide user feedback such as progress bars.
The best idea I've come up with so far is an embedded applet which uses sftp to push the file, but I'd like to do this using only js or similar if at all possible.
There is project that want to enable resumable uploads: https://tus.io/.
Its client library provides progress bar and resume-on-interruption in the browser.
You can integrate the server part into your app, to manage authentication yourself, while benefiting from the resumability!
Here is a blog post https://tus.io/blog/2018/09/25/adoption.html in which they mention it being used by Cloudflare.