How to Upload images to a custom folder in upload folder using media uploader

I’m creating a plugin for a customer that will add woocommerce products from images (images currently added via FTP) in a custom folder. The user also wants to be able to create a new folder each month to upload new images into and hit a button to create the products.

So I have everything working par the user been able to upload images to a custom folder. How can I select what folder the user uploads the images too using a custom media uploader in the plugin and then images for everywhere else on the site the images use the normal folders?

I’ve seen you can add something to the wp_config file that changes which folder you use but that’s not acceptable in this case as we still need to use the normal media uploader and change folders for the custom one each month.

Any help would be appreciated