Forum Discussion
ramonsuarez
2 years agoAdvocate II
Programmatically upload files to Fabric?
Hi, We want to be able to periodically upload a set of files to fabric, always to the same folder and overwritting the previous versions of those files. We have a PowerShell script in a ser...
- 2 years ago
Hi ramonsuarez ,
You can also try installing 'OneLake' program in the server and you can use it just like how you use 'OneDrive'. This approach will require just adding a copy statement in your existing powershell script
ramonsuarez
2 years agoAdvocate II
Neither. The script runs on a server and extracts the tables from the source system as xml files.
v-cboorla-msft
2 years agoMicrosoft Employee
Hi ramonsuarez
There are multiple ways to upload files to OneLake. You can try these options:
- Pipelines (as Sumit Kumar pointed out earlier)
- AZCOPY (they call the CLI and it copies files to /Tables directory). There's a good blog covering the details available here. Ingest Data into Microsoft Fabric OneLake using AzCopy | by Inderjit Rana | Microsoft Azure | Medium
- APIs
I hope this information helps. Please do let us know if you have any further questions.
Thanks