I discovered that only one directory<div>is having the globbing problem, and</div><div>it is the one with the largest number </div><div>of files. All other directories work</div><div>fine, so it does appear that at some</div>
<div>point I've exceeded the number of </div><div>files that ftp globbing can handle. </div><div><br></div><div>Why there are limits I don't know,</div><div>but it's why things like xargs exist.</div><div>But not in the ftp package.</div>
<div><br></div><div>I do have a ticket at the web hosting</div><div>site, and as soon as they decide I've</div><div>supplied enough information, maybe</div><div>they'll come back with some kind of</div><div>solution. A remote shell would be nice..</div>
<div><br></div><div> -- Bob</div><div><br><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 9:49 AM, <span dir="ltr"><<a href="mailto:scott.tanner@comcast.net" target="_blank">scott.tanner@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Arial">I haven't seen that particular error, but it sounds like the "list too long" error I see in CentOS at times. Do you see this error on any wildcard matching, or just when the wildcard matches a large number of files ( ie "rm *" versus "rm exact_filename.tx?" ) ?<br>
<br>If its matching a large number of files, try piping through xargs:<br><br> ls files2del* | xargs -i rm {} <br><br><br><br>Regards,<br>Scott<br><br><hr><b>From: </b>"Bob Kline" <<a href="mailto:bob.kline@gmail.com" target="_blank">bob.kline@gmail.com</a>><br>
<b>To: </b>"Mailing List for LUG in greater Grand Rapids, MI area." <<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a>><br><b>Sent: </b>Tuesday, October 2, 2012 9:34:52 AM<br><b>Subject: </b>[GRLUG] globbing<div>
<div class="h5"><br><br>I've recently encountered an issue<div>with globbing on my web hosting site.</div><div><br></div><div>The problem is that any attempt to </div><div>use wild cards when I try to, for example,</div>
<div>delete a bunch of files on the hosting site</div>
<div>results in an error saying "out of memory</div><div>while globbing."</div><div><br></div><div>In parenthesis it then suggests "This probably</div><div>means 'Permission denied.' "</div><div>
<br></div><div>Permission to glob? </div><div><br></div><div>I can, for example, delete files one at a time, </div><div>by typing in the entire name - i.e., no wild cards.</div><div><br></div><div>Nor does it appear to have to do with the</div>
<div>number of files - no globbing even with one file.</div><div><br></div><div>Any suggestions here? </div><div><br></div><div>I'll ask the web host provider as well....</div><div><br></div><div> -- Bob</div><div>
<br></div><div><br></div>
<br></div></div>_______________________________________________<br>grlug mailing list<br><a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a><br><a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a></div>
</div><br>_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote></div><br></div>