| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-16-2007, 01:30 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2007
Location: Mumbai, India
Distribution: Gentoo/Debian/Fedora
Posts: 12
Rep:
|
Determining directory size in FTP
Hi,
Suppose that I am accessing my data on a server via FTP. Is there a way of determining the size of a directory on the server?
sftp doesn't have a "du"-like command too.
Thanks
Pramod
|
|
|
|
07-16-2007, 01:31 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,695
|
directory sizes have nothing to do with networking. moved to Linux - Server. and are you talking about ftp or sftp? they are very different things.
|
|
|
|
07-17-2007, 02:19 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2007
Location: Mumbai, India
Distribution: Gentoo/Debian/Fedora
Posts: 12
Original Poster
Rep:
|
Okay, suppose I am using an ftp client like sftp/gftp to access data on a server. There is a certain directory on that server, the size of which I want to find out. I want a method for finding out the size.
Hope I am clear
Pramod
|
|
|
|
07-17-2007, 02:23 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,695
|
as above, sftp is not ftp - you should read up on what they actually are. i thought that the dir command would list this, certianly somethign normally listed in ftp clients.
|
|
|
|
07-17-2007, 08:37 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2007
Location: Mumbai, India
Distribution: Gentoo/Debian/Fedora
Posts: 12
Original Poster
Rep:
|
When I mentioned FTP, I did not mean the program "ftp" but the FTP protocol; which is why I put it in capitals.
The size which any ftp-client shows is not the actual size of the folder. I want to determine the actual size of the folder.
Pramod
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:48 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|