Add a file upload control to a form

 Important   

ShowAdd a file upload control

  1. In Page view, at the bottom of the document window, click Design Button image.
  2. Open an existing Web page or create a new Web page in which you want to add a file upload control.

If the Web page is new, name and save it.

ShowHow?

  1. On the File menu, click Save.
  2. In the Save As dialog box, in the File name box, type a file name for the Web page.
  1. In the document window, place the pointer where you want to add the file upload control.
  2. On the Insert menu, point to Form, and then click File Upload.
  3. In the Destination Folder dialog box, click Create New Folder, and then type the name of the folder.

 Important   In order for the Destination Folder dialog box to display, you must name and save the Web page.

  1. Press ENTER, and then click OK.

By default, Microsoft FrontPage creates a form area and into it inserts the upload control field, along with Browse, Submit, and Reset buttons. If FrontPage does not automatically create a form area, the default setting has been changed, and you can reset it.

ShowHow?

  1. On the Tools menu, click Page Options, and then click the General tab.
  2. Locate and select the Automatically enclose form fields within a form check box.
  1. Set the properties of the folder where uploaded files are stored.

ShowHow?

  1. If the Folder List is hidden, on the View menu, click Folder List.
  2. In the Folder List, right-click the folder, and then click Properties.
  3. Clear the Allow scripts or programs to be run check box.
  4. Select the Allow anonymous upload to this directory check box.
  5. To overwrite existing files, select the Allow uploaded files to overwrite existing file names check box.
  6. Click OK.

ShowSet properties for a file upload control

  1. Right-click the file upload control field, and then click Form Field Properties.
  2. In the Name box, type the name of the file upload control.
  3. In the Width in characters box, type the number of characters that equals the desired width of the file upload control.
 
 
Applies to:
FrontPage 2003