SteamCloudFileManagerLite icon indicating copy to clipboard operation
SteamCloudFileManagerLite copied to clipboard

subdirectories upload

Open rhsCZ opened this issue 5 years ago • 2 comments

I found a way to upload to subdirectories. place in filename "%2f"(without quotes, should be replaced in code for anything, maybe single % should work if code will be modified) and this will be replaced to "/" which makes upload to subdirectory for example "cfg%2ftest.cfg" uploads correctly to subdirectory cfg with name test.cfg. should create subdirectories and it should work for multiple subdirectories(not fully tested). upload

rhsCZ avatar Jun 21 '20 03:06 rhsCZ

This looks oddly hacky. Why not implement some sort of addition to the open file dialog box that allows the upload directory to be specified? Personally I'd use IFileOpenDialog from the Windows Shell API, but it's a lot of finicky interop stuff, so maybe a better idea is a SplitButton with selection for default upload that just opens up the regular open file box, and another option that opens up a form that lets you pick the destination. This could be combined with something for full directory uploads too.

GMMan avatar Jul 07 '20 03:07 GMMan

I made change to use form to choose folder by type it in textbox(my form doesn't look nice, but works :D). Maybe default upload button should be fine if someone doesnt upload to specific folder(this form will pop up for each selected file, which can be really annoying).

rhsCZ avatar Jul 07 '20 22:07 rhsCZ