From bhess at techrg.com Thu Dec 3 06:19:47 2009 From: bhess at techrg.com (Bill Hess) Date: Thu, 03 Dec 2009 09:19:47 -0500 Subject: [Detroit-pm] [Fwd: UG News: 45% off Ebook Purchases from O'Reilly] Message-ID: <4B17C903.6050106@techrg.com> -------- Original Message -------- Subject: UG News: 45% off Ebook Purchases from O'Reilly Date: Wed, 2 Dec 2009 16:01:01 -0800 From: Marsee Henon To: bhess at techrg.com If you would like to view this information in your browser, click here . O'Reilly Forward this announcement Hi, Can you pass along the following limited time discount to your members? Special offer for O'Reilly User Group program members: Along with your 35% discount off print books, you can now get *45% off all ebooks* you purchase direct from oreilly.com for a limited time. When you buy an O'Reilly ebook you get lifetime access to the book, and whenever possible we make it available to you in four, DRM-free file formats--PDF, .epub, Kindle-compatible .mobi, and Android ebook--that you can use on the devices of your choice. Our ebook files are fully searchable, and you can cut-and-paste and print them. We also alert you when we've updated the files with corrections and additions. Just use code DSUG when ordering online at www.oreilly.com/store Read more about our ebook formats and the ways to use them here: http://oreilly.com/ebooks Until next time-- Marsee Henon Spreading the knowledge of innovators oreilly.com You are receiving this email because you are a User Group contact with O'Reilly Media. Forward this announcement . If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to marsee at oreilly.com . O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472 (707) 827-7000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhess at techrg.com Wed Dec 9 07:41:07 2009 From: bhess at techrg.com (Bill Hess) Date: Wed, 09 Dec 2009 10:41:07 -0500 Subject: [Detroit-pm] What up, brudder? In-Reply-To: <16C1B01A3AD3F5488F81BFF141D2A2BC05111E22DA@EXMB1.highmark.com> References: <16C1B01A3AD3F5488F81BFF141D2A2BC05111E22DA@EXMB1.highmark.com> Message-ID: <4B1FC513.4090805@techrg.com> Howdy All - I had to write up some info on my Sharepoint interaction with Perl for my customer - so thought this might come in handy for some of you as well... Please let me know if you have any questions - Thanks... Bill Hess Technology Resource Group Office: 248.546.6900 x12 Fax: 248.546.7310 Mobile: 248.703.1196 Here is some info on using CURL (http://curl.haxx.se/) to upload files to a SP Document Library. CURL is a command line tool that supports a bunch of file transfer protocols - namely HTTP/HTTPS in this case. The reason this works is because SP supports WebDAV by default: http://www.webdav.org/ http://en.wikipedia.org/wiki/WebDAV Microsoft calls WebDAV - "Web Folders" - which you may have heard of before... Using CURL is simple once you have a copy of it - it is included with all Linux distros that I know of - we are using CentOS 5.3 - which is really Redhat Enterprise Linux (RHEL) 5.3 There are pre-built versions of CURL on http://curl.haxx.se/ for pretty much any OS you can think of... curl --ntlm -u DOMAIN/USERID:PASSWORD -T FILE https://sharepoint_server_hostname/sites/it_sharepoint/demo/M1%20Test%20%20Crimp%20Spec/ * --ntlm tells CURL to use MS authentication * DOMAIN/USER:PASSWORD is the MS user to use to login to SP Typically on Windows you would use a backslash \ - but on the UNIX cmd line this is the escape char - so we use the front slash / - not sure which to use if running on CURL on Windows - but you have a 50/50 shot to get it right... * FILE is the path/name of the local file you want to upload * And the URL is the SP URL - you can get this by just going to the SP site in your web browser and copy/paste the URL - note the %20 is used for each single spaces. o Actually - the first test site I created I named "M1 Test - Crimp Spec" and SP decided to not use the '-' in the URL but kept each space on either side of the '-'. So if you have a SP site that has wacky chars in it - pay close attention to the URL... o I also figured out if the SP site is renamed - its URL stays the same - so if I renamed my site to "Purple Brick" the URL will stay the same... o IMPORTANT - also note the last front slash '/' - I pulled my hair out for a few hours before I got lucky and tried it with this and it worked. I have also seen this trailing front slash issue with other WebDAV servers that I have worked with in the past... To see the SOAP methods available to you - you should be able to use your web browser by entering an equivalent URL for your SP site: https://your_sharepoint_host/sites/demo/_vti_bin/Lists.asmx This will show you the Methods to use working with SP Lists The attached Perl programs are: * soap21.pl - Walk thru a SP site and dump pretty much everything we can get - I used this as a test/reverse engr/debugging early on... * soap4.pl - Updates some attrs on a single item o Need to construct some simple XML which is passed in the SOAP call - the XML says which attrs to change and the new values to use * soap5.pl - Query a list for an Item o Need to construct XML for the Query * soap6.pl - Query for a SP subfolder -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sharepoint_perl_soap.zip Type: application/x-zip-compressed Size: 6607 bytes Desc: not available URL: From todd.chapman at eprize.com Tue Dec 15 06:05:34 2009 From: todd.chapman at eprize.com (Todd-Chapman) Date: Tue, 15 Dec 2009 09:05:34 -0500 Subject: [Detroit-pm] No Detroit Perl Mongers meeting this month Message-ID: Mongers, Don just made me realize it?s the 3rd Tuesday of the month already. Sorry but there will be no meeting this month. Let?s plan to have a great meeting in January. Happy holidays everyone, -Todd -------------- next part -------------- An HTML attachment was scrubbed... URL: