our FTP server is close to full and I want to figure out what's taking up the most space - is there a way to write a script or use some software or something to list all files in order of size from greatest to smallest? It is a linux server. I have FTP access but no SSH access at the moment.

link|improve this question
1  
Do you only have access to the server via FTP? Or can you login to it? What kind of system is it? Windows? Linux? AIX? Solaris? HP-UX? OS/2? – MikeyB Jul 27 '11 at 15:23
I have FTP access. It is a Linux server. I do not have SSH access. – mheavers Jul 27 '11 at 15:25
feedback

1 Answer

From your FTP client, run:

ls -alR

capture the output and parse it as you please.

link|improve this answer
I get a blank response. 500 unknown command – mheavers Jul 27 '11 at 18:37
Then the FTP server doesn't support it. Easiest way is to get in touch with the admins of the server and just ask them for, say, the output of df -k. – MikeyB Jul 27 '11 at 18:39
ok, thanks for your help – mheavers Jul 27 '11 at 18:40
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.