I’m looking for a field-type, which allows the user to select a file from
server dir (in a defined server path) . I want the user to upload big files via FTP and then link them to a post via ACF.
Any ideas or suggestions?
A field type might be nice, but this is completely doable with the existing ACF fields and a filter or 2.
I would use a select field and https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/ using scandir http://php.net/manual/en/function.scandir.php to get the files to populate the field.
Then I would create a format value filter https://www.advancedcustomfields.com/resources/acf-format_value/ to convert the file name into a URL. But you could also set the value to the url when populating the choices.