Share via


Need to upload files from Linux to Sharepoint

Question

Wednesday, September 28, 2016 3:01 PM

We have a need to upload Linux files straight to our sharepoint .

The files can be transmitted to windows ( using ftp) and then uploaded to sharepoint.

We prefer a one-step solution that deals only with one platform.

Is this possible ?

All replies (3)

Wednesday, September 28, 2016 4:31 PM ✅Answered | 1 vote

Hi Tanmay

You can upload files using curl directly into Sharepoint via it’s HTTP PUT interface:

curl --ntlm --user username:password --upload-file myfile.xls https://sharepointserver.com/sites/mysite/myfile.xls

Thanks
Mohit


Thursday, September 29, 2016 7:20 AM ✅Answered

Map a SharePoint document library as a network drive or Write a script that will copy the files generated from your location to this SharePoint location.

To get in detailed, please refer to below earlier threads:

How to auto upload and check in the files to sharepoint using curl

How to send file to Sharepoint from Linux creating non existend directories

How to upload file from Linux to Sharepoint using Perl:
http://www.perlmonks.org/?node_id=1049490

Hope this helps!

Migration solution to migrate to-and-from SharePoint and Office 365 along with File Servers, Exchange/Office 365 Public Folders, Google Drive and OneDrive Business to SharePoint Online/On-premise migration.


Friday, September 30, 2016 1:17 AM

Hi Tanmay Sinha,

If the reply is helpful to you, you could mark the reply as answer. Thanks for your understanding.

Best regards,

Sara Fan

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com