Forum Home
Press F1
 
Thread ID: 103002 2009-09-09 05:07:00 FTP Client that allows me to look in large directories Morgenmuffel (187) Press F1
Post ID Timestamp Content User
808174 2009-09-09 05:07:00 Hi

Problem is this

Client has been adding images to a directory, there are now 5000ish images in the directory, what i want to do is find all those over a certain size and download them and then resize and resample them, I can't really run a script on the server as there are a couple of files that need to be large (although i could possibly replace these), when i try and view the directory through cpanel the "a script on the page has become unresponsive" error happens repeatedly, if I click continue it keeps going a little then the error happens again and again till it finally crashes, if I click cancel it returns the results to that point,

When using other methods - FireFTP truncates files in a directory to 2000 , and my ancient dreamweaver truncates to even less.

Does anyone have any experience with an ftp client that won't truncate at 2000 records, preferably free and not cuteftp as my trial appears to have expired and I don't know that it would do this anyway

Thanks
Morgenmuffel (187)
808175 2009-09-09 05:17:00 Try this one.

http://filezilla-project.org/
Sweep (90)
808176 2009-09-09 05:18:00 OK 2000 seems to be a server limit, damn Morgenmuffel (187)
808177 2009-09-09 05:25:00 why not download the whole directory and do it that way? Or use server side software to resize them all? Do you have mysql etc available? hueybot3000 (3646)
808178 2009-09-09 05:39:00 why not download the whole directory and do it that way? Or use server side software to resize them all? Do you have mysql etc available?
The directory is extremely large, and as previously mentioned there are files in the directory that shouldn't be resized, and I can only tell what these files are by reading their names, downloading everything is plan Z
Morgenmuffel (187)
808179 2009-09-09 08:39:00 Sounds like you're gonna need to download the directory at some point to resize and review, so rather than view the directories contents, drag it to your desktop and sort it out locally. sal (67)
808180 2009-09-09 10:48:00 I was hoping there was some kind of command I could run in the ftp client

sort of like

list all files over 100K

I tried

Find -size +100000

But I'm guessing that only works on linux
Morgenmuffel (187)
808181 2009-09-09 10:55:00 OK 2000 seems to be a server limit, damn

Whos the web host? It's not one of these cheap rubbishy ones is it? A 2000 file limit displayed sounds like a server problem, as FTP programs can list many files, and I have never encountered that problem before.
robbyp (2751)
808182 2009-09-09 20:23:00 Are you able to only download the directory listing, instead of the complete directory itself, with your FTP client? You can then sort through the list, find the names(s) of the appropriate file(s), and then download directly. I have never encountered the 2000 file list limit.

I use libcurl on *nix, and it can do this, but I do not recall a Windows version.
vinref (6194)
808183 2009-09-09 20:40:00 If you have PHP on that server, this script might be some use (paste2.org). You could tweak it to be more helpful depending, dunno. sal (67)
1 2 3