title: Get SPListItem from an Attachments url?
body: <p>I`m trying to get the SPListItem from an Attachments url.
  What I´m currently trying:</p>
  
  <pre><code>string url = "Lists/Tasks/Attachments/27/unnamed.png";
  SPListItem i = new SPSite(url).OpenWeb().GetFile(url).Item;
  </code></pre>
  
  <p>But the Property "Item" of the SPFile gotten by "GetFile(url)" is null, so that does not wok.
  The "Item" property seems only to work for SPFiles in Document-Libraries...
  Has someone another approach?</p>
  
  <p>Thanks!</p>