locked
Need to upload files from Linux to Sharepoint RRS feed

  • Question

  • 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 ?

    Wednesday, September 28, 2016 3:01 PM

Answers

  • 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

    • Proposed as answer by Victoria Xia Tuesday, October 4, 2016 6:09 AM
    • Marked as answer by Sara Fan Monday, October 10, 2016 11:28 AM
    Wednesday, September 28, 2016 4:31 PM
  • 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.

    • Proposed as answer by Victoria Xia Tuesday, October 4, 2016 6:09 AM
    • Marked as answer by Sara Fan Monday, October 10, 2016 11:28 AM
    Thursday, September 29, 2016 7:20 AM

All replies

  • 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

    • Proposed as answer by Victoria Xia Tuesday, October 4, 2016 6:09 AM
    • Marked as answer by Sara Fan Monday, October 10, 2016 11:28 AM
    Wednesday, September 28, 2016 4:31 PM
  • 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.

    • Proposed as answer by Victoria Xia Tuesday, October 4, 2016 6:09 AM
    • Marked as answer by Sara Fan Monday, October 10, 2016 11:28 AM
    Thursday, September 29, 2016 7:20 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

    Friday, September 30, 2016 1:17 AM