There's no explicit limit and 350 isn't even a particularly large number of files, so I wouldn't expect any timeout problems listing the directory, though it's true that that can happen on directories with many thousands of files in them. I think that testing locally is an excellent idea. I expect you'll find that it works fine. If not, then I suggest checking the server log for error messages, as I expect that that's where the problem lies.