Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-19-2009, 01:41 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: Mar 2008
Posts: 159
Thanks: 23
Thanked 4 Times in 4 Posts
Default FTP program that does this.

Sorry if this is the wrong section to post this question but I need a FTP program that allows one to check the properties (size of files) for all files in a directory.

I've already tried several but I was only able to check the properties for multiple files on my hard drive, and not on the ftp site (was only able to check file sizes one at a time).

I need this to make sure an upload went through.

Thanks.
Shift is offline   Reply With Quote
Old 11-19-2009, 08:01 PM   #2
PHP Programmer
 
m4rx's Avatar
 
Join Date: Nov 2009
Location: /dev/null
Posts: 136
Thanks: 5
Thanked 12 Times in 12 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to m4rx
Default Re: FTP program that does this.

I don't know of any that do that, but if your server is a Linux server, and you have access to SSH, you can use the command

$ du -ch /path/to/your/directory | grep total

and this will show the size of everything in that folder.

If not, your SOLd, as there is no FTP program that supports this. FTP doesn't support recursion, as it's a pretty simple protocol.

You could possibly try telnet if the server supports that too.

--m4rx

We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
Bored. Check out my blog.
m4rx is offline   Reply With Quote
Old 11-19-2009, 08:18 PM   #3
Active Warrior
War Room Member
 
TruWebPro's Avatar
 
Join Date: Apr 2009
Location: Arizona and Hawai'i
Posts: 86
Thanks: 11
Thanked 16 Times in 13 Posts
Default Re: FTP program that does this.

FileZilla has a window that will show you what I think you are looking for if I understand your question correctly. You just highlight the files, and the cumulative size appears below. Here's a screenshot of the remote window to show you:



It's at http://filezilla-project.org/
Hope that helps.

Cheers,
Neil

The Key to that #1 Spot on Google is Right Here! TruBacklinks
TruWebPro is offline   Reply With Quote
Old 11-19-2009, 08:41 PM   #4
PHP Programmer
 
m4rx's Avatar
 
Join Date: Nov 2009
Location: /dev/null
Posts: 136
Thanks: 5
Thanked 12 Times in 12 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to m4rx
Default Re: FTP program that does this.

The only problem with that is that it will only work on files, not a directory. So if there are other folders inside that directory, shift will have to check each one of those individually.

--m4rx

We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
Bored. Check out my blog.
m4rx is offline   Reply With Quote
Old 11-20-2009, 04:19 AM   #5
HyperActive Warrior
War Room Member
 
Join Date: Mar 2008
Posts: 159
Thanks: 23
Thanked 4 Times in 4 Posts
Default Re: FTP program that does this.

I will give Filezilla a try, and it looks like I'll just have to check each directory individually.
Oh well better than nothing.

So it looks like there's no solution to this, that it's not possible to check file sizes within multiple directories; one must check each directory's files at a time.

Thanks and if anyone knows differently, would appreciate the info.
Shift is offline   Reply With Quote
Old 11-20-2009, 04:44 AM   #6
Active Warrior
 
Join Date: May 2009
Posts: 59
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: FTP program that does this.

may be you can directly connect to the ftp port via telnet and request file properties of a folder..but that will need some technical know how..anyways filezila also works good

ankit_frenz is offline   Reply With Quote
Old 11-20-2009, 05:01 AM   #7
HyperActive Warrior
War Room Member
 
gordi555's Avatar
 
Join Date: Nov 2009
Posts: 167
Thanks: 7
Thanked 10 Times in 10 Posts
Default Re: FTP program that does this.

Quote:
Originally Posted by m4rx View Post
I don't know of any that do that, but if your server is a Linux server, and you have access to SSH, you can use the command

$ du -ch /path/to/your/directory | grep total

and this will show the size of everything in that folder.

If not, your SOLd, as there is no FTP program that supports this. FTP doesn't support recursion, as it's a pretty simple protocol.

You could possibly try telnet if the server supports that too.

--m4rx
Cheers, will be handy for me Thanks!

gordi555 is offline   Reply With Quote
Old 11-20-2009, 07:40 AM   #8
PHP Programmer
 
m4rx's Avatar
 
Join Date: Nov 2009
Location: /dev/null
Posts: 136
Thanks: 5
Thanked 12 Times in 12 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to m4rx
Default Re: FTP program that does this.

Quote:
Originally Posted by gordi555 View Post
Cheers, will be handy for me Thanks!
No problem. Linux is my happy place.

--m4rx

We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
Bored. Check out my blog.
m4rx is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
ftp, program

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:53 AM.