LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-24-2009, 06:33 AM   #1
livealie
LQ Newbie
 
Registered: Jul 2009
Location: Malmö
Distribution: Slackware 11
Posts: 3

Rep: Reputation: 0
Show full directory size in proftpd?


Hi everyone!
My first post so I hope this is the right place for this question. Also, sorry my english is a bit rusty.

I run proftpd 1.3.0 on Slackware 11 kernel 2.4.33.3. When I connect to the ftp I would like to see the full size of a directory (all of its content instead of the space the directory itself takes up).

In glftpd, all i had to do was adding a line to the conf file I think. I've googled but without luck and I fear the only solution is to involve some kind of directory cache.

Do you have any idea? Thanks in advance.
 
Old 07-24-2009, 11:30 AM   #2
Suncoast
Member
 
Registered: Apr 2009
Location: Largo, Florida
Distribution: Slackware
Posts: 208

Rep: Reputation: 35
Welcome to the board!

I am a little confused. When I connect to an FTP server running ProFTP, I issue the command ls or dir to get a file listing. The ls command will accept options, example ls -l

Does this answer your question?

Steve
 
Old 07-28-2009, 10:05 AM   #3
livealie
LQ Newbie
 
Registered: Jul 2009
Location: Malmö
Distribution: Slackware 11
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply.

I get the dirlist (from LIST) and know there are some options. But the issue is that the dirlist shows directory sizes as like 4KB for each directory. Instead, I would like to see the size of the directory and all of its content.

When i send 'list -h', all sizes shows (of directories, not files) as just '0' while 'list -l' gives me '4KB'. Any ideas?

Thanks
 
Old 07-28-2009, 06:08 PM   #4
Suncoast
Member
 
Registered: Apr 2009
Location: Largo, Florida
Distribution: Slackware
Posts: 208

Rep: Reputation: 35
I don't know the answer to your question, so I looked for it. This was the closest info I could find here on the proftpd website. This is a list of all the ProFTPD list options you can set.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL4 root directory says full but sum of use is nowhere near full. Why? SteveInTallyFL Linux - Server 11 02-05-2009 05:45 AM
Gnome-terminal - how to show full current directory VicRic Linux - Newbie 1 10-19-2006 03:29 AM
command to show full directory path cuco76 Linux - Newbie 2 10-12-2006 08:36 PM
show size of all filesin a directory watashiwaotaku7 Linux - Newbie 4 09-29-2003 11:49 PM
Nvidia G4 with TV-Out (TV won't show full screen) MasterC Linux - Hardware 7 08-02-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration