Work with Saia PLCs in my application (desktop, mobile...) and
I need upload and download files into filesystem over http request.
Someone else said in another post: it can be possible to make ftp over http with ftp.cgi calls.
So It is possible to get some informations about ftp.cgi calls?
And All commands refers to cgi-bin/ftp.cgi?
> So It is possible to get some informations about ftp.cgi calls?
> And All commands refers to cgi-bin/ftp.cgi?
Indeed. Available commands are:
But I do suspect this is now also done via json. Such as http://192.168.25.3/cgi-bin/ftp.json?dir=/INTFLASH:/WEBPAGES/&usr=root,rootpasswd
For JSON you have got:
1 Get directory listing (dir)
2 Create a directory (mkdir)
3 Deleting a directory (rmdir)
4 Deleting a file (del)
5 Downloading a file (get)
6 Uploading a file ('POST')