Hi @Anonymous ,
Could you please share a bit more about your scenario?
Do you want to upload a file from your canvas app into your SP Library? How do you upload this attached files within your app? Fire a flow (Microsoft Flow) to upload this attached file into your SP Library?
Currently, within PowerApps, there is no direct way to upload files from a canvas app to a SP Library. As an alternative solution, I think the combination of PowerApps and Microsoft Flow could achieve your needs.
I assume that your Edit form (in your canvas app) connects to a SP list (e.g. List1) on your side, and you use "Attachments" control to upload files, is it true?
On your side, you could consider take a try to create a flow to detect if there is an item created in your List1, if yes, get the correspoding attachment files from this new added item, then save them into corresponding SP Library based on the Module 车号 field value.
I have made a test on my side, please take a try with the following workaround:
My App's configuration as below:
My Flow's configuration as below:

Within the "Create file" action, Folder Patch field set to following formula (type the following formula manually😞
/MyLibrary/Module 车号 Value Dynamic content of the trigger /* <-- MyLibrary represents my SP Library name */
On your side, you should type:
/YourSPLibrary/Module 车号 Value Dynamic content of the trigger
More details about get the Module 车号 Value dynamic content of the trigger within the Folder Path field, please check the following GIF screenshot:
The flow works successfully as below:

Please take a try with above solution, then check if the issue is solved.
Best regards,