Re: [lftp] FTP-over-HTTP
On Tue, Mar 24, 2015 at 04:24:44PM -0300, Guilherme Silveira wrote: I would like to clarify one thing: is it possible to implement all functionalities the ftp protocol has (download, upload, resume upload/download, directory listing, mirror) with just pure https, no extension methods or api? Yes. Turn on automatic directory indexes on the server. For uploading some extra work is required, but it is possible - the server should handle PUT request and store the file. -- Alexander. Em 18/03/2015 17:06, Guilherme Silveira guilhermecgss...@gmail.com escreveu: HI, I am new to lftp and would like to ask some questions...Please forgive me if the questions are dumb I need to implement the server side of a communication system that uploads and downloads files. The client side is using lftp as the client. It was agreed to use HTTPS as the communication protocol to do this. I am not an http-protocol expert, but I am wondering if this is possible. Pure HTTPs does not have all functionalities that ftp has, and would be necessary a API on the server side to make it work. For example, HTTPs does not have a command to list the contents of a directory. So, my conclusion is that the only way to implement this would be using ftp-over-http. My question is: 1- What is exactly a ftp-over-http? How does it works under the hood? 2- What I need to do to implement a server that support ftp-over-http? 3- What tools and software would you use to implement the server side? (for example: apache with mod_proxy, or jboss with something else, etc) ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] FTP-over-HTTP
HI folks, thanks for the answer. I was reading mod_proxy_ftp documentation from apache and it states that it cannot upload files using ftp commands, only http post. http://httpd.apache.org/docs/current/mod/mod_proxy_ftp.html#ftpnonget Since not only I need to upload files, but also have pause-resume functionalities, I was wondering if apache was the right choice for the server side. Does it make sense? Which web server would be the most appropriated for communicating with lftp? On Thu, Mar 19, 2015 at 4:22 AM, Alexander V. Lukyanov l...@netis.ru wrote: On Wed, Mar 18, 2015 at 05:06:33PM -0300, Guilherme Silveira wrote: I am new to lftp and would like to ask some questions...Please forgive me if the questions are dumb I need to implement the server side of a communication system that uploads and downloads files. The client side is using lftp as the client. It was agreed to use HTTPS as the communication protocol to do this. I am not an http-protocol expert, but I am wondering if this is possible. Pure HTTPs does not have all functionalities that ftp has, and would be necessary a API on the server side to make it work. For example, HTTPs does not have a command to list the contents of a directory. Well, many http servers can generate directory indexes automatically, lftp can parse many formats. So, my conclusion is that the only way to implement this would be using ftp-over-http. My question is: 1- What is exactly a ftp-over-http? How does it works under the hood? It's accessing ftp server using a http proxy. 2- What I need to do to implement a server that support ftp-over-http? 3- What tools and software would you use to implement the server side? (for example: apache with mod_proxy, or jboss with something else, etc) You can use mod_proxy and an ftp server on the same host. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] FTP-over-HTTP
On Wed, Mar 18, 2015 at 05:06:33PM -0300, Guilherme Silveira wrote: I am new to lftp and would like to ask some questions...Please forgive me if the questions are dumb I need to implement the server side of a communication system that uploads and downloads files. The client side is using lftp as the client. It was agreed to use HTTPS as the communication protocol to do this. I am not an http-protocol expert, but I am wondering if this is possible. Pure HTTPs does not have all functionalities that ftp has, and would be necessary a API on the server side to make it work. For example, HTTPs does not have a command to list the contents of a directory. Well, many http servers can generate directory indexes automatically, lftp can parse many formats. So, my conclusion is that the only way to implement this would be using ftp-over-http. My question is: 1- What is exactly a ftp-over-http? How does it works under the hood? It's accessing ftp server using a http proxy. 2- What I need to do to implement a server that support ftp-over-http? 3- What tools and software would you use to implement the server side? (for example: apache with mod_proxy, or jboss with something else, etc) You can use mod_proxy and an ftp server on the same host. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp