WebFileServer.CreateWebFileDrop Method
Public Shared Function CreateWebFileDrop( _
ByVal folder_id As EntityID, _
ByVal display_name As String, _
ByVal mode As WebFileDropCreateMode, _
ByVal desc As String, _
ByVal max_size As Integer, _
ByVal extensions As List(Of String), _
ByVal password As String, _
ByVal close_after_drop As Boolean, _
ByVal utc_expiry As Nullable(Of Date), _
ByVal created_by_id As EntityID, _
ByVal main_page_id As Nullable(Of Long), _
ByVal describe_page_id As Nullable(Of Long), _
ByVal db As IDatabase _
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateWebFileDrop(
EntityID folder_id,
string display_name,
WebFileDropCreateMode mode,
string desc,
int max_size,
List<string> extensions,
string password,
bool close_after_drop,
Nullable<DateTime> utc_expiry,
EntityID created_by_id,
Nullable<long> main_page_id,
Nullable<long> describe_page_id,
IDatabase db
)
This language is not supported or no code example is available.
public:
static EntityID^ CreateWebFileDrop(
EntityID^ folder_id,
String^ display_name,
WebFileDropCreateMode mode,
String^ desc,
int max_size,
List<String^>^ extensions,
String^ password,
bool close_after_drop,
Nullable<DateTime> utc_expiry,
EntityID^ created_by_id,
Nullable<long> main_page_id,
Nullable<long> describe_page_id,
IDatabase^ db
)
This language is not supported or no code example is available.
Parameters
- folder_id
- EntityID
the folder where this should be created
- display_name
- string
the display name
- desc
- string
a description
- max_size
- int
optional max size, -1 if not used
optonal list of extensions
- password
- string
an optional password - null if not needed
- close_after_drop
- bool
whether or not to close after a drop occurrs
an optional expiry date
- created_by_id
- EntityID
the contact that created id
- db
- IDatabase
<default>