Perl 按代码上载到sharepoint

Perl 按代码上载到sharepoint,perl,sharepoint,upload,Perl,Sharepoint,Upload,我有运行并生成excel工作表的脚本。我想使用perl(首选)或power shell脚本将excel工作表上载到特定的sharepoint URL。请帮忙 我没有使用Microsoft SharePoint的经验。您可能可以使用的方法: use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->post( $url, { 'spreadsheet' => $contents } );

我有运行并生成excel工作表的脚本。我想使用perl(首选)或power shell脚本将excel工作表上载到特定的sharepoint URL。请帮忙

我没有使用Microsoft SharePoint的经验。您可能可以使用的方法:

use LWP::UserAgent;

my $ua = LWP::UserAgent->new;
$ua->post( $url, { 'spreadsheet' => $contents } );