You have perhaps misunderstood the purpose of the patch. During the upgrade to Drupal 6 it will attempt to see if any files hosted inside the files within that Drupal installation and <span style="font-weight: bold;">if not
</span>; the default files folder will be changed. Otherwise, all files will remain the same.<br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">KevinImNotSpacey</b> &lt;<a href="mailto:kevin.amerson@gmail.com">
kevin.amerson@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That&#39;s interesting! dang.&nbsp; We have a single site install and symlink the files off to a NAS, now it would be really annoying if some script attempted to move those files off the NAS simply because we left the default files/ folder.
<br><br>Perhaps this has been over-engineered at this point.&nbsp; Some people have multi-site installs, some people don&#39;t.&nbsp; There is already a warning that shows if Drupal thinks there is a problem with the files folder, maybe just add a note to that which states: Hey if you have a multi-site install consider doing 
<span style="font-weight: bold;">this really cool thing over here</span>.&nbsp; Then provide them with a helper link to a function which sets up that really cool thing.<br><br>Kevin<div><span class="e" id="q_1121f077e500b1c5_1">
<br><br><div><span class="gmail_quote">On 4/23/07, 
<b class="gmail_sendername">Johan Forngren</b> &lt;<a href="mailto:johan@forngren.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">johan@forngren.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<span>Hi all,<br><br>I need help with turning this query into something useful<br><br>SELECT fid FROM {files} WHERE filepath LIKE &#39;files/%&#39; LIMIT 1<br></span><span><br><span style="color: rgb(102, 102, 102);">if (count(db_fetch_object(db
</span><span style="color: rgb(102, 102, 102);">_query(&quot;SELECT fid FROM {files} WHERE filepath LIKE &#39;files/%&#39; LIMIT 1&quot;))) == 1) {
</span><br><br></span><span>The purpose is to determine if there is some files within the dir &#39;files&#39; registered in the db. I&#39;m stuck at the db_* stuff, any help would be greatly appreciated. See also <a href="http://drupal.org/node/98824" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">



http://drupal.org/node/98824</a> .<br><br>Thank you<br clear="all"></span><span><br>-- <br>Regards,<br>&nbsp;&nbsp;Johan Forngren <br><br>&nbsp;&nbsp;<a href="mailto:johan@forngren.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


johan@forngren.com</a> :: <a href="http://johan.forngren.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://johan.forngren.com/
</a>
</span></blockquote></div><br>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>&nbsp;&nbsp;Johan Forngren <br><br>&nbsp;&nbsp;<a href="mailto:johan@forngren.com">johan@forngren.com</a> :: <a href="http://johan.forngren.com/">http://johan.forngren.com/
</a>