Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload to subdirectories #12

Open
rhsCZ opened this issue Jul 6, 2020 · 6 comments
Open

Upload to subdirectories #12

rhsCZ opened this issue Jul 6, 2020 · 6 comments

Comments

@rhsCZ
Copy link

rhsCZ commented Jul 6, 2020

Hi, I made pull request to simple change in code for upload to subdirectories. it maybe isn't best solution, but it works. because on windows you can't use / or \ in filename. so i made little change with regex expression replace that looks for "%2F"(could be only %) in filename and replace it with /. it only changes first argument(name of file), second argument which is full path to file is unchanged. I try it by myself and it worked(it was only try, i dont even hope to work like that). I'm not work in C#, so i must use google to help me with that :D my pull request. i would appreciate if you make some update from that.

anyfile

@rhsCZ
Copy link
Author

rhsCZ commented Jul 9, 2020

I made few updates. Fully working.

@CanadianJeff
Copy link

could someone please show how this works?

@rhsCZ
Copy link
Author

rhsCZ commented Oct 20, 2020

I have forked repository with subdirectory upload. You can compile it for yourself.

@CanadianJeff
Copy link

did you submit a pull request for this to be put into the master branch?

@GMMan
Copy link
Owner

GMMan commented Oct 24, 2020

He did, but I don't really like the approach and plan to redo it with better UX when I have time.

#10 is left open for reference.

@THE-OLDEST
Copy link

This was useful and saved my MH save, just when there are a lot of files, the operation is tedious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants