Skip to main content

Problem:

This example demonstrates how to create a link to an FTP site and also how to create an E-mail link from an HTML form designed with Form Designer. The input form is from an imaginary company and allows you to connect to an FTP site which is actually the Microsoft ftp site at Microsoft.com. The HTML document ftplinks.htm will be displayed in your browser. When the exit submit button is pressed, the CGI program FTP0501.EXE will be run which will display the output form ftplinks-out.htm. This form simply outputs a "Thank You" message to the user and offers a link back to the main page.

Resolution:

INTRODUCTION

==========

This example demonstrates how to create a link to an FTP site and also how to create an E-mail link from an HTML form designed with Form Designer. The input form is from an imaginary company and allows you to connect to an FTP site which is actually the Microsoft ftp site at Microsoft.com.

The HTML document ftplinks.htm will be displayed in your browser. When the exit submit button is pressed, the CGI program FTP0501.EXE will be run which will display the output form ftplinks-out.htm. This form simply outputs a "Thank You" message to the user and offers a link back to the main page.

SOURCE FILES:

==========

Program Files                Description

------------------------     -----------------------------------------------------------

FTPLINKS.HTM              Input form which contains links to ftp://ftp.microsoft.com and also

                                      contains e-mail  links. Will run FTP0501.EXE when submit button is

                                      pressed.

FTPLINKS.MFF              Net Express Form Designer file contains information pertaining to

                                     FTPLINKS.HTM.

FTPLINKS-OUT.HTM     Output form displayed by FTP0501.EXE when submit button is pressed on

                                     FTPLINKS.HTM.

FTPLINKS-OUT.MFF     Net Express Form Designer file contains information pertaining to

                                     FTPLINKS-OUT.HTM.

FTP0501.CBL               CGI program which is run when the user selects the exit submit button on

                                     the input form.

FTP0501.CPF               Copy file generated by Form Designer. Contains form data variables for

                                     FTPLINKS.HTM.

FTP0501.CPY               Copy file generated by Form Designer. Contains program data variables

                                     for FTPLINKS.HTM.

FTP0501.CPV               Copy file generated by Form Designer. Contains procedure division

                                     statements for converting and processing form data.

YELLOWBALL.GIF         Picture files used in FTPLINKS.HTM. 2000.GIF

REQUIREMENTS:

==========

You must have established a connection to the Internet prior to running this program.

You also must have a Web Browser, such as Microsoft Internet Explorer V5.0 installed on your system.

OPERATION:

========

Rebuild this project to create the file ftp0501.exe. The application starts by loading FTPLINKS.HTM.

==========================================================

Keywords: demonstration, sample, example, demo, web programming, ftpdemo.zip

demo.ex

demo.ne

demo.se

Attachments:

ftpdemo.zip

Old KB# 4201