KT Walrus Posted June 19, 2019 Posted June 19, 2019 Could you replace: /* If it's an AWS file just redirect to it */ if ( $file instanceof \IPS\File\Amazon ) { \IPS\Output::i()->redirect( $file->generateTemporaryDownloadUrl() ); } in the Downloads app (or any other places that $file->generateTemporaryDownloadUrl() is called) to look up the method in the storage method used for the file? I want to implement generateTemporaryDownloadUrl() in a storage method I'm coding now and have it used by IPS apps such as the Download app.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.