ConstantContact AddLibraryFilesMultipart Method CTCT Wrapper Documented Class Library
Add files using the multipart content-type

Namespace: CTCT
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public string AddLibraryFilesMultipart(
	string fileName,
	FileType fileType,
	string folderId,
	string description,
	FileSource source,
	byte[] data
)

Parameters

fileName
Type: OnlineSystem String
The file name and extension
fileType
Type: CTCT.Components.MyLibrary FileType
The file type
folderId
Type: OnlineSystem String
The id of the folder
description
Type: OnlineSystem String
The description of the file
source
Type: CTCT.Components.MyLibrary FileSource
The source of the original file
data
Type:  OnlineSystem Byte 
The data contained in the file being uploaded

Return Value

Returns the file Id associated with the uploaded file
See Also