Today is...
Tuesday, November 21, 2017
Welcome to Control.com, the global online
community of automation professionals.
Featured Video...
Featured Video
Watch an animation of a conveyor stacking operation demonstrating the use of a move on a gear command.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
Saia PLC and cgi Calls
ftp over http with ftp.cgi calls

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:
WebFTP-Put Command
WebFTP-Get Command
WebFTP-Dir Command
WebFTP-Del Command
WebFTP-Mkdir Command
WebFTP-Rmdir Command

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')