Lantronix EDS3000PS Command Reference - Page 48
Where node can be either a file or directory.
View all Lantronix EDS3000PS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 48 highlights
5: Configuration Using Web API 201: Directory successfully created. This code is part of the WebDAV standard. 409: Directory already exists 500: Other failure Example: # curl -s -u admin:PASSWORD http://192.168.0.1/fs/dir1 -X MKCOL # curl -s -u admin:PASSWORD http://192.168.0.1/fs/ ]> file.txt 166 dir1 0 HTTP DELETE Used to remove files and directories from the file system. URL: http:///fs/[path]/node Where node can be either a file or directory. HTTP Response Codes: 204: No content (node successfully removed). This code is part of the WebDAV standard. 404: Node not found 500: Other failure Example: # curl -s -u admin:PASSWORD http://192.168.0.1/fs/file.txt -X DELETE # curl -s -u admin:PASSWORD http://192.168.0.1/fs/ ]> dir1 0 EDS3000 Command Reference 48