Accessing the web / ftp etc

F.A.O Chris Glazier,

Hi Chris,

I'd like to access web services direct from Visual COBOL e.g. FTP to do automatic software updates, send emails, scrape web pages etc. Can you point me to any help for this.

My immediate interest is to be able to do automatic software updates for our users by accessing update files from our server.

Thanks,

Linden

  • It's generally seen as impolite to address new threads to individuals on public forums.

    Regarding your question:

    • FTP is not a "web service". Web services use HTTP; FTP is a different protocol entirely. Neither is sending email, which uses the SMTP protocol (though there are web services for sending email). Nor is scraping web pages. Web services are HTTP interfaces designed to be used by programs.
    • Visual COBOL does not include support for FTP. Some customers have used the third-party, open-source libcurl library for that purpose. There are other options, depending on platform.
    • Similarly, you would have to use third-party components to send email (unless you find a suitable third-party web service for that) and scraping web pages.
    • Visual COBOL does have support for web services; that's one of the major product features. It's described at length in the documentation and there are tutorials and samples included with the product.

  • Thanks for your politeness tip Michael. Chris has always answered my queries so I assumed he was charged by MF to do that. I was using the term, "web services" in a very general sense to mean anything that works via the internet. Anyway thank you for your answer. Regards, Linden

  • Thanks for your politeness tip Michael. Chris has always answered my queries so I assumed he was charged by MF to do that. I was using the term, "web services" in a very general sense to mean anything that works via the internet. Anyway thank you for your answer. Regards, Linden