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

Same as the title. ⬆⬆⬆ :)

3/14/2019 1:34:12 PM

Warith Vatanaplachaigoon

14 Answers

New Answer


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.


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.


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?


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.


Sololearn does not support navigating through your files


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.


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


@everyone Thanks!


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


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.


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. 🤓



Rem AIksemo


Dear ur program is not correct check it and do it again