butler icon indicating copy to clipboard operation
butler copied to clipboard

[Request] Specify File Name When Uploading With Butler

Open junkmail22 opened this issue 2 years ago • 2 comments

When I upload a zip file with butler, no matter what I call it, the file gets renamed to game-name-channel-name.zip when users download it. This is different from the display name of the file, which I can easily change on the edit game page. It would be nice if I could keep the zip file having the same name as when uploaded, or otherwise specify the file name with a flag. As is, if I want the .zip to have the name I want, I need to upload it directly using the website, and I lose all the helpful effects of butler, especially being able to just push to a channel.

junkmail22 avatar Aug 13 '24 19:08 junkmail22

Just wanted to add my two cents to this request! My app is cross-platform, and pushing the single-file Linux Flatpak retains the original name of that one file, while the Windows and macOS builds are treated as folders of multiple files and get the standard projectName-channelName treatment. The mismatched filenames look pretty bad, so I've regrettably gone back to just downloading my build artifacts and uploading them through the web interface.

If the way butler handles versioning requires the projectName-channelName filename convention (or another format that doesn't change between releases), I'd at least like to see it applied globally so the file listings on project pages look consistent and polished. But the ability to pass a template for an alternative filename format via argument would be a great addition!

lilacpixel avatar Aug 08 '25 16:08 lilacpixel

It would be great to at least be able to optionally include the userversion in the resulting filename so users who have downloaded previous versions don't have a bunch of identically-named zip files in the their Downloads directory.

Ideally, though, it would be really nice to either allow the filename to be specified as an additional parameter to push, or to just copy the name of the directory being pushed as-is.

noirb avatar Mar 31 '26 14:03 noirb