2025/05/15 16:38:41 ERROR : real/path/hidden/by/dan/just/now.zip: Failed to copy: Update ReadFrom failed: sftp: "You cannot upload files larger then 5 GB." (SSH_FX_FAILURE)
Permanent does not support uploads of files greater than 5GB right now, which means there is an error when that is attempted.
Right now I believe this limitation is not communicated until after the file has been written and closed. If memory serves, this is simply a limitation of the SFTP protocol (when opening for write the client has no way of signaling how large the file will be).