Lantronix EDS3000PS Command Reference - Page 47
Configuration Using Web API, EDS3000 Command Reference
![]() |
View all Lantronix EDS3000PS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
5: Configuration Using Web API query_port 0 tunnel 0 user_data 0 HTTP PUT Used to place new files in the file system and update existing files. Directories cannot be created using PUT; the MKCOL request must be used. Note that PUT will overwrite an existing file by the same name. URL: http:///fs/[path]/file HTTP Response Codes: 201: File successfully created. This code is part of the WebDAV standard. 509: Not enough space 500: Other failure Example: # ls -l -rw-r--r-- 1 user wheel 166 Oct 22 2013 file.txt # curl -s -u admin:PASSWORD http://192.168.0.1/fs/ -T file.txt # curl -s -u admin:PASSWORD http://192.168.0.1/fs/ ]> file.txt 166 HTTP MKCOL Used to create new directories (not files) in the file system. MKCOL ?is an HTTP extension from the WebDAV standard. URL: http:///fs/[path]/directory HTTP Response Codes: EDS3000 Command Reference 47
![](/manual_guide/products/lantronix-eds3000ps-command-reference-d7ad853/47.png)