Forum Discussion
Programmatically upload files to Fabric?
- 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
Hi ramonsuarez
Could you please confirm whether you are using Notebook or Pipeline?
What is the source of your data, will it be accessible from Notebook?
Thanks
Neither. The script runs on a server and extracts the tables from the source system as xml files.
- v-cboorla-msft2 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
- v-cboorla-msft2 years agoMicrosoft Employee
Hi ramonsuarez
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thanks- ramonsuarez2 years agoAdvocate II
A colleague found a Power Shell script to upload directly from the server and run it with Windows Task Scheduler.