Steve5443356
Posts: 0
Joined: Wed Jan 16, 2013 9:41 pm

specified file name - upload files

When I upload a file using the Rest API, ,tiggzi adds a guid as a prefix of the file name?
e.g. photo.jpg - aaa-ggff-ddd....photo.jpg

How can I remove the extra characters from the uploaded file name ?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

specified file name - upload files

I believe that's done by MongoDB.. so don't think there is an option to remove it. You can create a new column and save a more user friendly name there.

Steve5443356
Posts: 0
Joined: Wed Jan 16, 2013 9:41 pm

specified file name - upload files

Hi Max,

I created a Collection files_saved. with file_name field

How can I get the filename uploaded to save on my new collection?

The reason is to automatically download the images from the database/
Thank you and have a nice weekend :-)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

specified file name - upload files

You would need to do a POST into that collection, with the name of the file.

Return to “Issues”