How to manipulate upload file (name, location, size etc)

How can you capture information about file uploads or uploaded file in events like on validation, onValidationSuccess, before insert, and after insert? In scriptcase, I couldn’t locate any built-in macros.

I wanted to create multiple files of various sizes and dimension and submit them to various servers, but I was unable to capture uploaded file(image) properties. Has anyone among you tried and been successful?

in any of those events you have the field with the filename, let’s say {filename}.

You can build the complete path of the file uploaded, path of uploaded files . “/”. {filename} then once you have the filename you can get anything, size, extension, and then you can do anything, send file via email, copy and so on.

bye
Vincenzo

1 Like