Add a file upload control
- In Page view, at the bottom of the document window, click Design .
- 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.
- On the File menu, click Save.
- In the Save As dialog box, in the File name box, type a file name for the Web page.
- In the document window, place the pointer where you want to add the file upload control.
- On the Insert menu, point to Form, and then click File Upload.
- 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.
- 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.
- On the Tools menu, click Page Options, and then click the General tab.
- Locate and select the Automatically enclose form fields within a form check box.
- Set the properties of the folder where uploaded files are stored.
- If the Folder List is hidden, on the View menu, click Folder List.
- In the Folder List, right-click the folder, and then click Properties.
- Clear the Allow scripts or programs to be run check box.
- Select the Allow anonymous upload to this directory check box.
- To overwrite existing files, select the Allow uploaded files to overwrite existing file names check box.
- Click OK.
Set properties for a file upload control
- Right-click the file upload control field, and then click Form Field Properties.
- In the Name box, type the name of the file upload control.
- In the Width in characters box, type the number of characters that equals the desired width of the file upload control.