Highlighted
Absent Member.
Absent Member.
1015 views

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

Linden Rowland - IT Consultant
Owner/Developer, www.SchoolReportWriter.com
IT Consultant to Tindle Newspaper Group

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Accessing the web / ftp etc

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.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Accessing the web / ftp etc

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

Linden Rowland - IT Consultant
Owner/Developer, www.SchoolReportWriter.com
IT Consultant to Tindle Newspaper Group

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.