Wednesday, May 22, 2013   Login
You are here: Project » Blog  
IWeb FileManager API Update
Location: BlogsIan Lackey    
Posted by: itlackey 11/4/2007

There has been some changes to the file management portion of the IWeb SPI since the original blog post and beta release. Below is a table of the methods that are included in the latest beta release. This release also contains partner methods to all of the items listed in the table. The partner methods are overloaded with portalId, username, password, and encrypted parameters and have the word Ajax appended to the end of the method name.

These methods were created to allow the use of the API from JavaScript. They allow you to specify all of the header credential information in the web service parameters. All of the Ajax enabled methods are displayed as separate entries in the IWeb configuration. Therefore, they can be permissioned independently from the header enabled partner method.

IWeb File Management Methods:
AddFolder Add a new folder to specified parent or portal root.
CopyFile Copies a file to a new file with the specified name.
DefaultProtectedFolders Determines if specified path is the default protected folder.
DeleteFiles Delete the list of specified files
DownloadFile Download the specified file.
GetFileById Get a FileInfo object for the specified FileId.
GetFilesByFolder Get a list of files in the folder supplied.
GetFolderById Get a FolderInfo object for the specified FolderId.
GetFoldersByParent Get sub folders by parent FolderId.
GetMaxRequestLength Gets the maximum request length in KBs. Return -1 if configuration could not be read.
GetPortalRootFolders Get portal root folders.
GetPortalSpaceUsed Get the total space used by the portal folder.
UploadFile Upload as file.
Permalink |  Trackback
  
Home  |  Screen Shots  |  Example Code  |  Installing  |  Download  |  Project
Copyright 2006-2009 by OpenLightGroup.net   |  Privacy Statement  |  Terms Of Use