Knowledge Base

PRB: The File Upload Control Cannot Publish Your Files

Article ID: 188953

Article Last Modified on 11/26/2003


APPLIES TO


This article was previously published under Q188953

SYMPTOMS

When you attempt to post a file to a server, using a client-side script, you may see the following error message:
The File Upload Control cannot publish your files because it could not interpret the PostInfo file on the server. You may wish to contact your server administrator or ISP and inform them of this problem.
This error occurs even with a valid PostInfo file on the server.

CAUSE

The client-side script is using the File Upload ActiveX Control (FlUpl.ocx), and the DestinationURL parameter in the IFlUpl.CreateTempBinding or IFlUpl.CreatePermBinding method call refers to a destination URL that does not begin with "http://" or "ftp://".

RESOLUTION

Edit the contents of the client-side script and precede the destination URL parameter with "http://" or "ftp://".

MORE INFORMATION

The following example causes the error message:
<SCRIPT LANGUAGE="VBS">
Sub InitializeControl
    FlUpl1.CreateTempBinding "my_server",
    "{8B14B770-748C-11D0-A309-00C04FD7CFC5}"
End Sub
</SCRIPT>
				
Adding "http://" or "ftp://" to the destination server name corrects the error:
<SCRIPT LANGUAGE="VBS">
Sub InitializeControl
    FlUpl1.CreateTempBinding "http://my_server",
    "{8B14B770-748C-11D0-A309-00C04FD7CFC5}"
End Sub
</SCRIPT>
				

REFERENCES

More information about the Web Posting Wizard can be obtained from the following Microsoft Web site:
and follow these steps:
  1. Click Product Updates, then Continue.
  2. Select Windows NT 4.0 (Internet Explorer 5.0), then click Continue.
  3. In Specific Search Item, type Web Publishing Wizard and then click Continue.
  4. The Web Publishing Wizard will be listed on the next screen.

Additional query words: WPW Web Post Wizard kbnokeyword

Keywords: kberrmsg KB188953