How does Dropbox Infinite manage file placeholders? - filesystems

Dropbox recently introduced Project Infinite, which displays a 0 byte file placeholder in Finder / Explorer that when double-clicked causes the Dropbox app to download the file and open it.
It doesn't appear to have been enabled on my account yet so I can't test it but their demo video shows it being completely seamless.
Does anyone know exactly how this is occurring behind the scenes? Are they using something like FUSE to create their own file system?
Also, how do they make it appear to be 6 MB when the file is actually 0 bytes?

So it seems like Dropbox has answered my question for me in a follow-up blog post.
They were going to use FUSE but decided against it for performance reasons. They're directly building native kernel extensions, which is probably overkill for my needs. I guess I'll stick with FUSE.

Related

File upload in CodenameOne Browser component

The native file chooser dialog doesn't get invoked from within a BrowserComponent. I understand WebView has some limitations but there are ways to overcome this in Android.
Is there a workaround for CodenameOne? Any ideas on how to make it work?
This is a bit problematic because Android overcame it in a non-portable way. That means the workaround worked for older versions of Android, stopped working and then you needed a new workaround all the time.
But it was even more problematic because of permissions that made it really hard to do it well especially with Android 6+ permission types. All users that asked for this so far found a different way to implement file upload e.g. using the multipart class so this never became an issue that required a workaround (which would be non-trivial).

Codename one Dropbox plugin?

is there any plugin to read and write to Dropbox? I have seen an other post about dropbox but was posted 2 years ago. Is there any change so the plugin can write to Dropbox? Or an other solution like dropbox for example google drive or something else? I ask because I need a solution for an application to backup its data.
Thanks in advance!
The same library is still there although I haven't personally tested that it still works. I know some developers ported it to OAuth 2.x but they didn't contribute the code back so if it doesn't work that might be a problem.
I'm not aware of a similar integration at this time.

How to Prevent from re-uploading a file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
i have an Educational website and i create always pdf files from my learning and ad them for download
but there is many learchers that download my files and reupload them somewhere else
i used google dmca but is there any way to Prevent from re-uploading my files?
One way is to use your .htaccess to prevent hotlinking, but even if you do that, you'll again have the problem that when someone views the document via an in-browser extension (e.g. Adobe Reader, Foxit PDF Reader), they can save it and you've lost control over what they can do with it. Or, depending on how you've set up your site, they can simply directly download it, leaving you again back at square one.
Hence, the solution is to bypass direct access to the document. And, there are a number of ways to do that, which varies based on technique and web software (platform) used.
However, since you didn't mention a particular platform or technology: you can use web controllers (MVC type controllers) to broker the dynamic viewing and displaying of the documents in tandem with a client-side tool / plugin to do the displaying for you (much like Scribd).
However, Scribd uses a proprietary Flash PDF viewer called iPaper, and while it isn't available for use, you can find many other alternatives on the web. One that comes highly recommended (there's even a tag on SO for it) is FlexPaper, an open source plugin that implements a client-side web-based PDF viewer - which I think will suit your needs perfectly (from here):
This project provides a light weight document viewer component
enabling PDF files to be viewed without having any PDF reader software
installed. This project provides both Flex library and stand-alone web
version.
Here are some demos of it in action:
http://flexpaper.devaldi.com/demo/
Sorry, by mistake posted partial comment. Anyway...
Why do you afraid of reuploading of your files ? Put links to original site into the PDF and get profit of this. More copies, more downloads, more popularity for your resource. If you indeed would like to make PDFs available from your site only, you have to hide files from users and provide some functionality to read them from your web site only (you can use existing sites of this type). That makes duplicating of your resources to be harder task, but be ready that many users reject to read it this way.

Best (or any) Grails File Browser

Another day another question ;)
This time I would like to ask you about server file browser in grails. To be more specyfic I'm looking for something similar to this in grails. I've looked at many sites and I only find Open File Manager attached to CKEditror plugin. In some way it's fine but with it I can't, for example, pick file (like in "Enhancing HTML form" in CKFinder demo)
I would be very grateful for any suggestions
Weceem is a CMS built in grails. It has the ability to upload HTML files and do basic file management.
I finaly manage to find solution. What is intresting is a fact that already mentioned Open File Manager attached to CKEditror plugin has a possibility to do that. I only have to open it with new windows (target="_blank")

Flash/ajax file upload to blobstore?

Is it possible to use some enhanced component to upload files to blobstore?
I'm playing with uploadify but facing problems to put it to work. I would like to be able to filter the kind of file before send it to blobstore, as well as the file size and maybe show some progress bar during the upload...
PS: For those who also subscribe the gae-j group, this is a reposting, since nobody answered this question in the group...
Check out Plupload, which does pretty much everything you are looking for, and also this post, which demonstrates how to implement Plupload using App Engine.

Resources