What is the purpose of the name parameter in the FileDescription
Hi Support,
What is the purpose of the name parameter below (TestString). The file is a stream type filesteam, I need to add the name, but what does it do or what relevance is it, when it is uploaded
Dim uploadParams = New ImageUploadParams With {
.File = New FileDescription("TestString", file),
Kind Regards
Graham Mattingley
0
-
Hi Graham,
The TestString is the path to the file. Here is an example:
var uploadParams = new ImageUploadParams()
{
PublicId = publicId, //Name of the file
File = new FileDescription(m_testImagePath)// URL to the image
};0
Post is closed for comments.
Comments
1 comment