hi all
i was wondering if in hubl it was somehow possible to read/list e.g. the contents of files stored in a directory. i speak about the files that are uploaded with the hubspot file manager.
what i want to do is simply upload pictures into hubspot and then dynamically produce a website that shows all pictures that have been uploaded.
is that somehow possible?
in php i could do it e.g. with this script…
<?php
$dir = “/tmp”;
$dh = opendir($dir);
while (false !== ($filename = readdir($dh))) {
$files[] = $filename;
}
sort($files);
print_r($files);
rsort($files);
print_r($files);
?>