Why <input type="file"> isn't working in Sololearn. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Why <input type="file"> isn't working in Sololearn.

Same as the title. ⬆⬆⬆ :)

14th Mar 2019, 1:34 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
15 Answers
+ 13
It is because Sololearn does not support going through your file directory (maybe because they feel it is an "invasion of privacy"?) They do this frequently for anything that extracts information from your device that could be sensitive.
14th Mar 2019, 2:06 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 8
ODLNT I don't have an iPad to test (someone stole mine from me. years ago), but it works for me from the web version (Chrome, KDE Plasma, Ubuntu). As expected, I can confirm that it doesn't work for me on the Android version either. Definitely provides food for thought.
15th Mar 2019, 3:52 AM
Janning⭐
Janning⭐ - avatar
+ 7
Warith It appears that <input type="file"> in only disabled when using Sololearn app on an Android device. <input type="file"> works without any issue when I use Sololearn on my iPad(app), PC(web) and android device(web) [edited] Used examples from javascripture.com to test. https://code.sololearn.com/WEjjH82aJ1se/#html. Maybe someone else can test?
14th Mar 2019, 4:18 PM
ODLNT
ODLNT - avatar
+ 7
Janning⭐ Sorry about your iPad, but thank you for taking the time to test your other devices and browsers. This does make me pause especially since the Web Storage and Geo Location APIs appear to have similar issues. Food for thought indeed.
15th Mar 2019, 4:23 AM
ODLNT
ODLNT - avatar
+ 6
Dark Code Cat Sololearn does not support navigating through your files? When using my pc and running the code from my previous reply the file explorer window pops up and I'm able to navigate and select any image file or text file. When using an android phone and run the code within the Sololearn app I get nothing, but if access Sololearn website using my phone I'm able to navigate the files. Testing the same code on an iPad file access was limited to just images but access nonetheless.
15th Mar 2019, 3:00 AM
ODLNT
ODLNT - avatar
+ 5
Sololearn does not support navigating through your files
14th Mar 2019, 9:38 PM
Alpha
Alpha - avatar
+ 5
Sololearn does not support going through personal file but there is a way you could upload the file to your clould or drop box account and link it to sololearn as you do with images check here https://www.sololearn.com/discuss/1712750/?ref=app https://www.sololearn.com/discuss/1709211/?ref=app
15th Mar 2019, 11:14 AM
George S Mulbah II
George S Mulbah II - avatar
+ 5
I understand how this might be a policy against invasion of privacy issue. I am not advocating that the community should be able to overwrite or append each others' files, but some users have reported being able to have file access from the SL webpage, on tablets and other non-Android devices. The addition of limited file access would greatly facilitate the self-taught educational process complimentary to how programming tutorials teach us how to work with files. This could become a driving incentive to sign up and pay for a SL Pro subscription if users with Android devices had access to using our own custom header files and reading writing and appending to our own files, thereby advancing the persuit of knowledge in metaprogramming and artificial intelligence. Please upvote if you are in favor of improved file access to your own local directory or downvote if a change in file access security seems too risky. https://code.sololearn.com/cYxn3Se8zSIc/?ref=app
18th Mar 2019, 9:07 AM
boneSpider
boneSpider - avatar
+ 4
@everyone Thanks!
15th Mar 2019, 12:54 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
+ 4
yeah it's a very smart move by sololearn in order to avoid privacy invasion which may cause some discomforts to it's users...that's why sololearn will be the best forever.
15th Mar 2019, 11:16 PM
ᎯᏰᏰᎯ__ᏥᎿᏩ➰
ᎯᏰᏰᎯ__ᏥᎿᏩ➰ - avatar
+ 3
boneSpider I don't have an opinion either way, but I think your suggestion is interesting nonetheless, so I passed it up through our back channels. To corroborate, I think it would be a good idea for you to submit your suggestion directly to SoloLearn as well (feedback feature in-app and/or info@sololearn.com), just to see where this goes. 🤓
18th Mar 2019, 10:02 AM
Janning⭐
Janning⭐ - avatar
+ 3
for protection of u
22nd Jun 2019, 4:25 AM
Ginfio
Ginfio - avatar
- 1
;-)
15th Mar 2019, 4:27 PM
Agostino Costanzo
Agostino Costanzo - avatar
- 1
Rem AIksemo
16th Mar 2019, 4:53 AM
Mhmadeggf Sggsfgg
- 1
Dear ur program is not correct check it and do it again
16th Mar 2019, 7:44 AM
Hitman