I want the user to load the current contents of the text field into a text file on his computer. I used to create an iframe pointing to a data URL that would launch a file upload dialog. However, this time the data is client.
So, is it possible to allow the user to upload data without sending them to the server?
Is it possible to download user data without sending it to the server side?
Generally not.
URL- data:, janmoesen ( URL- URL-, , %nn).
data:
%nn
, IE. (IE8 URL- , ). , URL- , , .
( POST, Content-Disposition: attachment . Content-echo script . )
POST
Content-Disposition: attachment
" ", IE, 'data:text/plain,' + yourTextarea.value. / Ctrl + S.
'data:text/plain,' + yourTextarea.value
Source: https://habr.com/ru/post/1740761/More articles:How to transfer image object in Sinatra - streamОбнаружение Нажмите браузер - javascriptmySQL removes the first digit - databaseShow part of XML file when parsing it - stringНе удалось создать классы миграции из разности (Zend Framework 1.10 + Doctrine 1.2.2) - zend-frameworkIs there a standard lexer / parser tool for Python? - compiler-constructionJavax Swing timer help - javaProper use of PyQt signals - pythonRails caches_page: index in the wrong place - ruby | fooobar.comPHP + GD: imagetruecolortopalette не сохраняет прозрачность - phpAll Articles