Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to upload file from Linux to Sharepoint using Perl

by frozenwithjoy (Curate)
on Aug 15, 2013 at 01:13 UTC ( #1049495=note: print w/ replies, xml ) Need Help??


in reply to How to upload file from Linux to Sharepoint using Perl

Seems like it would be easier to just create a cron job to schedule a daily curl call.

To edit your cron jobs, use: crontab -e. Adding something like the following should upload your file every morning at 5AM:

00 5 * * * /usr/bin/curl --ntlm -u <your Active-Directory-Domain>/<you +r-domain-username> -T /path/to/xyz.txt http://sharepoint.url.com/doc/ +library/dir/


Comment on Re: How to upload file from Linux to Sharepoint using Perl
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049495]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-04 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls