Click to return to the Web Content Management home page    
IWPSiteW::NetworkDisconne...     IWPSiteW::ServerLogin Met...     IWPSiteW Interface    
Web Workshop  |  Web Content Management

IWPSiteW::PostFiles Method


Posts files to the specified URL on the destination site identified by this object.

Syntax

HRESULT PostFiles(
    DWORD cLocalPaths,
    LPWSTR *pwsLocalPaths,
    LPDWORD pdwURLBufLen,
    LPWSTR wsURL,
    DWORD fdwFlags
);

Parameters

cLocalPaths
Number of elements in the pwsLocalPaths array.
pwsLocalPaths
Address of an array of null-terminated strings that contain the file names or directories to be posted on the Internet. If any of these strings point to a directory and the WPF_NO_RECURSIVE_POST flag is not set in fdwFlags, all the files in that directory are posted.
pdwURLBufLen
Address of a variable that indicates the length of the wsURL buffer. When the function returns, the variable contains the length, in bytes, of the that buffer.
wsURL
Optional. Address of a null-terminated string that contains the destination URL. If this parameter is NULL, the files are posted in the root URL for the site.

If this parameter is not NULL, the URL of the copied file, or the URL of the directory that the files were copied to, is returned in the buffer pointed to by this parameter.

fdwFlags
Action flags.
WPF_NO_RECURSIVE_POST
If any element in the pwsLocalPaths array points to a directory, do not post files recursively.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Changes for version 1.5:

See Also

WpPost



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.