<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Easy alternate way to delete Sharepoint files</title><link>https://www.infopathdev.com:443/forums/thread/15174.aspx</link><pubDate>Mon, 12 Mar 2007 01:50:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15174</guid><dc:creator>anotherchrisberry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15174</wfw:commentRss><description>I was trying UpdateListItems in SharePoint 2003.&lt;br /&gt;&lt;br /&gt;For some reason, I never got an error message - it just failed to delete the file.&lt;br /&gt;&lt;br /&gt;Thanks to Matt Everhart for figuring this out.</description></item><item><title>Re: Easy alternate way to delete Sharepoint files</title><link>https://www.infopathdev.com:443/forums/thread/15173.aspx</link><pubDate>Sun, 11 Mar 2007 23:50:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15173</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15173</wfw:commentRss><description>Thanks AnotherChrisBerry!&lt;br /&gt;Your approach of using HTTP is even simpler than the UpdateListItems method. I wonder if the latter doesn't work because of a version issue. Which version of SharePoint are you running?</description></item><item><title>Easy alternate way to delete Sharepoint files</title><link>https://www.infopathdev.com:443/forums/thread/13084.aspx</link><pubDate>Sun, 11 Mar 2007 22:08:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13084</guid><dc:creator>anotherchrisberry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13084</wfw:commentRss><description>I tried - and failed - to get this code to work to delete a file from Sharepoint:&lt;br /&gt;&lt;a href='http://www.infopathdev.com/howto/tutorials/default.aspx?i=1d52979046884d8186c9393a1ea95109' target='_blank' title='http://www.infopathdev.com/howto/tutorials/default.aspx?i=1d52979046884d8186c9393a1ea95109'&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=1d52979046884d8186c9393a1ea95109&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=1d52979046884d8186c9393a1ea95109&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This, however, works like a champ (for me, at least):&lt;br /&gt;&lt;br /&gt;oXmlHttp = new ActiveXObject("Msxml2.XMLHTTP");&lt;br /&gt;oXmlHttp.open("DELETE", myURL, false);&lt;br /&gt;oXmlHttp.send();&lt;br /&gt;&lt;br /&gt;Where "myURL" is the file URL you are trying to delete.&lt;br /&gt;&lt;br /&gt;[A friend of mine discovered this]&lt;br /&gt;&lt;br /&gt;Cheers!</description></item></channel></rss>