Hey Shane,
Just sitting here thinking about your question more carefully, you
said that the destination type changed from 0 to pd. This is the perl
code, not the SP error code right?
pd in my code means "something with a parent directory" or the sort.
I can't confirm unless I dig into the code.
I guess when you added the dir, the module couldn't decide if that dir
has a parent directory. This _might_ happen if you were trying to
add a dir in the SP top level shared folder. If that's the case, the
workaround may be to manually create a subfolder under that toplevel
one, and then use the perl module to automate moves to the subfolder.
I hope that helps a little,
Yimin
On 8/8/13, Shane Burgess via RT <bug-SharePoint-SOAPHandler@rt.cpan.org> wrote:
Show quoted text> Thu Aug 08 12:07:32 2013: Request 87714 was acted upon.
> Transaction: Ticket created by shane.burgess@gmail.com
> Queue: SharePoint-SOAPHandler
> Subject: destination type unclear [0] when cp new file to dir created
> by cust_mkdir in SP 2013
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: shane.burgess@gmail.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=87714 >
>
>
> Hello,
>
> Thank you for this great module but I am having a problem with SharePoint
> 2013
>
> If I create a directory using cust_mkdir
> $args->{'dirName'} = "bar";
> $sharepointobj->cust_mkdir('FOO/'.$args->{'dirName'});
>
> The folder is created in SP but when I go to cp a file over, I
> get destination type unclear [0].
>
> This is where it get's interesting...
>
> If I then go to sharepoint and then inside the new folder and manually add
> the file the type changes from 0 to pd and I can copy files to it all day.
>
> Any ideas?
>
> Thank You
> --
> -Shane
>
>