PRB: The File Upload Control Cannot Publish Your Files

ID: Q188953


The information in this article applies to:
  • Microsoft Web Publishing Wizard versions 1.0, 1.0a, 1.1, 1.5, 1.51a, 1.52 for Windows 95
  • Microsoft Web Publishing Wizard versions 1.0, 1.0a, 1.1, 1.5, 1.51a, 1.52 for Windows NT 4.0
  • Microsoft Internet Explorer (Programming) version 5.0


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:

http://www.microsoft.com/windows/software/webpost/

Additional query words: WPW Web Post Wizard kbnokeyword

Keywords : kberrmsg kbIE500
Version : WINDOWS:1.0,1.0a,1.1,1.5,1.51a,1.52
Platform : WINDOWS
Issue type :


Last Reviewed: April 30, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.