Internet Support
IGOR Pro provides facilities for interacting with the Internet. Manually or from an IGOR procedure you can:
- Download files and folders from an FTP site
- Upload files and folders to an FTP site
- Create directories on an FTP site
- Delete files and folders from an FTP site
- Get the contents of a web page from a web server
- Bring up a web page in the default web browser
- Generate an HTML file from an IGOR notebook window
- Percent-encode and percent-decode strings, such as URLs
FTP I/O is accomplished using the FTPDownload, FTPUpload, FTPDelete, and FTPCreateDirectory operations.
Fetching the contents of a web page is done using the FetchURL function.
Calling up a web page in the web browser is done using the BrowseURL operation.
Generating HTML from a notebook is done manually through the File->Save Notebook dialog or through the SaveNotebook operation.
Percent-encoding is done using the URLEncode function and percent-decoding is done using the URLDecode function.
A web-savvy programmer can use IGOR as a CGI-Bin Server. This is explained in Tech Notes PTN004 and PTN005 which are included with IGOR Pro.
Last updated: Thursday, August 19, 2010