(Currently we are Beta Testing this. It has not been released yet. It may take a month or so)
In addition to the new user management methods in IWeb, are the new file management capabilities. We have started to expose all of the functionality of the "File Manager" through IWeb methods. This will allow for easy management of files located on your portal.
Below is a list of methods currently exposed via IWeb. We plan to expand this list in future releases but feel that this covers most of the common tasks. We tried to mirror the methods in the FileSystemUtils class; however, some method signatures did change slightly due to the nature of web service communication. These changes should have minimal impact on the usability of these methods.
IWeb File Management Methods:
| AddFolder |
Add a new folder to specified parent or portal root. |
| AddToZip |
Add file(s) from IO.Stream to the zip file specified. |
| CopyFile |
Copies a file to a new file with the specified name. |
| DefaultProtectedFolders |
Determines if specified path is the default protected folder. |
| DeleteFile |
Delete the specified file, and optionally clear the cache. |
| DeleteFiles |
Delete the list of specified files. |
| DeleteFolder |
Delete the specified folder. |
| DownloadFile |
Download the specified file. |
| GetFilesByFolder |
Get a list of files in the folder supplied. |
| GetFoldersByParent |
Get child folders of the specified parent. |
| GetPortalRootFolders |
Get root level folders for the current portal. |
| UnzipFile |
Unzip the specified file to an existing folder. |
| UploadFile |
Upload as file. |
IWeb File Management Client:
Obviously you can consume and use these methods in your application(s) as you would any web service methods. We have also put together a client application that takes advantage of these methods. The client is designed to have a familiar "Windows Explorer" look and feel. It should provide a good example of the capabilities of these methods. However, the current version does not support drag and drop, and provides access to only a few of the methods mentioned above. Again, the client is a work in progress and we will focus on adding more robust features in coming releases.
To configure the connection to the IWeb service, choose "Web Service Connection" from the Tools menu. You will be presented with this form:

* This screen takes the same information as the IWeb Client connector.
Here are a few screen shots from the client application.
Main View:

File Context Menu:
