I am new to SharePoint. I was trying to download and upload file using Perl script in a Linux machine but getting an "NTLM Authentication Error" while running the script.
I tried downloading the file using "wget" providing valid credentials through following command:
wget --user username --password passwd http://dest.sharepoint.com/Folder/file.txt
But got the error "
401 Unauthorized". I am not able to identify the cause. The 401 error occurs when authentication is required and it is not provided whether it has failed or not. But in the above case username and password provided is correct, because I am able to browse to the file using GUI in the browser with the same credentials.
If any one has any idea about this please let me know.