Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 chilling in the Monastery: (8)
As of 2014-09-02 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (31 votes), past polls