I am trying to do FTP over McAfee Proxy server. I am using HTTP GET method to get a list of the FTP directory. The listed files are given to me embeeded in a HTML file. I don't like this way. In a program, i would have to parse this HTML file to get the file names and download the files.
Is there any library or something that i could use to get the file list like in the case of native FTP?
I would also like to delete the file in a remote FTP server. But the FTP over HTTP does not allow me to delete the file.
I am trying this through CURL.
curl -v -ftp.au.freebsd.org:21 -x http://proxy_server:80 (This gives me a list of files in the directory embedded in HTML)
You are posting in home products and I think you need Enterprise support, can you advise what McAfee software it is so I can move the thread there please?
This is how FTP over HTTP works, when the browser requests a HTTP request for an FTP resource, the Web Gateway must provide a rendering of the FTP data.
If you want a native FTP response, you should use the FTP proxy, this will also help with your goal to issue native FTP commands (such as delete).
To do this, there is no library, you just need to enable the FTP proxy under Configuration > Proxies.