openSNP / snpr

The sources of the openSNP website
http://opensnp.org
MIT License
174 stars 46 forks source link

File Upload from URL #249

Open gedankenstuecke opened 8 years ago

gedankenstuecke commented 8 years ago

So, the guy who wanted to upload his full genome VCF still is having trouble doing so. But he has it available via a Dropbox link. Which made me think: Maybe we should add "upload" support from URL and we then just grab the file from there?

gedankenstuecke commented 8 years ago

In principle it would be straight-forward using paperclip but I think we would need to include this in a Worker, because I guess otherwise the server will wait for the upload from remote-url <-> openSNP?

tsujigiri commented 8 years ago

Definitely. But does it actually bring any benefit?

gedankenstuecke commented 8 years ago

I think for larger files it will bring a benefit because especially for genome/exome VCFs the files usually are already downloadable on some server, so making people first download them and reupload them is a pain for them.

tsujigiri commented 8 years ago

And they wouldn't have to keep the browser open, hoping the upload goes through. Alright. Should be easy enough to do.

gedankenstuecke commented 8 years ago

Yes, @Treblesteph and I had some problems doing just that during the Mozilla workshop this weekend :smile: