I'm trying to upload files onto a local storage. Now it's a bit unwanted to have everything in one folder, so i'm trying to incorporate the subfolder like 'contract', but it doesn't seem to be supported. What is the status of supporting the subfolder using the file upload API (Indicium)? It surely cannot be a fixed value only from the SF.
Hello
This is supported by Indicium. How are you setting the file path right now? The most likely cause of this not working is that you’re setting a relative path in a default procedure instead of an absolute path.
So instead of this:
set @file = 'sub_folder/file_name.ext';
Try this (where C:\my_storage_location
is the base of your storage location):
set @file = 'C:\my_storage_location\sub_folder\file_name.ext'
I hope this helps.
Hello
This is supported by Indicium. How are you setting the file path right now? The most likely cause of this not working is that you’re setting a relative path in a default procedure instead of an absolute path.
So instead of this:
set @file = 'sub_folder/file_name.ext';
Try this (where C:\my_storage_location
is the base of your storage location):
set @file = 'C:\my_storage_location\sub_folder\file_name.ext'
I hope this helps.
Hi
Does this work for linux? And it should incorporate the base file path? like
/var/shared/file/folder/folder/file.pdf
And it will make the folders? Or do they need to exist?
I'm not really getting it to work.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.