Page 1 of 1

Upload to file system

Posted: 09 Jul 2020, 15:28
by ingoiot
hi,

for some reason i cannot upload txt files to the filesystem via file browser.
on esp32 it works but not on a pi zero.

Re: Upload to file system

Posted: 09 Jul 2020, 17:18
by ingoiot

Code: Select all

17:17:02 File upload started...
17:17:02 'datafile'
17:17:02 Exception while uploading 'datafile'
maybe a file permission problem?

Re: Upload to file system

Posted: 10 Jul 2020, 19:33
by enesbcs
ingoiot wrote: 09 Jul 2020, 17:18

Code: Select all

17:17:02 File upload started...
17:17:02 'datafile'
17:17:02 Exception while uploading 'datafile'
maybe a file permission problem?
No, i do not think so.
I guess you are using Windows style CRLF line endings in text file, which is also used by integrated Perver web server to split file headers. Standard Linux text files line endings is LF only.

Fix commited in 2.0.192 today.

Re: Upload to file system

Posted: 10 Jul 2020, 21:17
by ingoiot
seems to work, tnx.