The same can be achieved with directory_print(db_get_directory()).
Attach a file by drag & drop or click to upload