<br><br><div class="gmail_quote">On Wed, Oct 3, 2012 at 8:33 AM, John-Thomas Richards <span dir="ltr"><<a href="mailto:jtr@jrichards.org" target="_blank">jtr@jrichards.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Oct 03, 2012 at 12:30:17AM -0400, Bob Kline wrote:<br>
> I discovered that only one directory is having the globbing problem,<br>
> and it is the one with the largest number of files. All other<br>
> directories work fine, so it does appear that at some point I've<br>
> exceeded the number of files that ftp globbing can handle.<br>
><br>
> Why there are limits I don't know, but it's why things like xargs<br>
> exist. But not in the ftp package.<br>
><br>
> I do have a ticket at the web hosting site, and as soon as they decide<br>
> I've supplied enough information, maybe they'll come back with some<br>
> kind of solution. A remote shell would be nice..<br>
<br>
</div>Is the host running Linux?<br>
</blockquote><div>Here's the feedback I've gotten so far:</div><div><br></div><div>**</div><div><pre style="white-space:pre-wrap;color:rgb(34,34,34);background-color:rgb(255,255,255)">Thank you for your update on this matter. Yes, it could be the large number of files since you are able to access other directories. Have you tried using another FTP Client?
</pre></div><div>**</div><div><br></div><div>I don't know the answer to your </div><div>question, and have asked. </div><div><br></div><div>That it could be the large number of </div><div>files is something I mentioned to them,</div>
<div>so this is not going well....</div><div><br></div><div>Globbing will fail when the "list" gets</div><div>too long - I've seen it before. I think</div><div>it when the lists get to be 100K bytes</div><div>
long, maybe more. A shell script might</div><div>choke at that point, and then you have</div><div>to switch to things like xargs.</div><div><br></div><div>But this doesn't really explain why this</div><div>is happening even at the level of one</div>
<div>file name now. At least it doesn't </div><div>explain it to me.</div><div><br></div><div>It will be a while yet. Your question is</div><div>a good one - they ask me whether I've</div><div>tried another version of FTP, but haven't</div>
<div>told me what they use or support. </div><div><br></div><div>I use the standard ftp that comes with</div><div>Kubuntu 12.04. </div><div><br></div><div>Another possibility would be a script</div><div>of some kind where I do the globbing</div>
<div>at my end, and then do an ftp session</div><div>on a file by file basis. Maybe use </div><div>something like "expect." Anyone here</div><div>know of any possibilities here?</div><div><br></div><div> -- Bob</div>
<div><br></div><div><br></div><div> </div></div>