File Hosting | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

File Hosting

How do I upload my file on a server so that I can include it using the src attribute? I tried so many file hosting services, but its all not JUST my file, so I cant use it. Thanks!

22nd Aug 2018, 2:50 PM
Paul Grasser
Paul Grasser - avatar
6 Answers
+ 4
Hi Paul Grasser, I use Dropbox, it's flawless and never had issues.(iOS, Android & Windows) To get the correct result, you need to change the end of the link url and thats it!😊 from "?dl=0" to "?dl=1" Here is an example how I've used .mp3 file to play on SL. Most file extentions should work this way. Hope it will fix your issue👍 https://code.sololearn.com/WcA28BVWTfq4/?ref=app https://www.sololearn.com/discuss/1054246/?ref=app
22nd Aug 2018, 5:05 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 16
🌴Vincent Berger🌴 google drive can be used ?
23rd Aug 2018, 1:36 PM
Vishnu
Vishnu - avatar
23rd Aug 2018, 3:05 PM
Vishnu
Vishnu - avatar
+ 3
I host my files on bplaced.net, its free for private use. You may give it a try. If you want to publish your codes under a open source licence you could create an account on github and upload the files there.
22nd Aug 2018, 3:52 PM
Rainer Wess
Rainer Wess - avatar
+ 2
Thanks a lot guys!
22nd Aug 2018, 7:03 PM
Paul Grasser
Paul Grasser - avatar
+ 1
VicHu ☠️ , unfortunatly I have never used google drive for SL. Therefore I can't tell you how to implement a valid link from GD to SL. But shouldn't be that hard I guess😊
23rd Aug 2018, 3:00 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar