Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
ccgi space
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- ccgi space
- « Previous
-
- 1
- 2
- Next »
Re: ccgi space
01-01-2010 5:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yep - I purely upload to ccgi.username.plus.com in passive mode using Firefox (FireFTP) and it works just fine.
Message 16 of 23
(306 Views)
Re: ccgi space
04-01-2010 9:51 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You could upload the following script to your cgi-bin directory and run it, It's best not to run that often though as it can take a while to run (depending on how many files you have of course).
#!/bin/bash
echo "Content-type: text/plain"
echo
cd ..
du -sk * | awk '{print $0;t+=$1}END{print t"\tTotal"}'
Message 17 of 23
(306 Views)
Re: ccgi space
04-01-2010 10:20 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks Ben. How would I go about running it without Telnet access?
Message 18 of 23
(306 Views)
Re: ccgi space
04-01-2010 11:01 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
http://ccgi.username.plus.com/cgi-bin/scriptname
The result will be displayed in the browser
The result will be displayed in the browser
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Message 19 of 23
(306 Views)
Re: ccgi space
04-01-2010 12:32 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks, I didn't realise a browser could be used to execute shell scripts like that. I got it running (once I made it executable and set unix-style LFs). I'm not quite sure how to interpret the results though - whether the figures are bytes, KB or whatever, they don't seem to correspond to those reported by my FTP client.
Message 20 of 23
(306 Views)
Re: ccgi space
04-01-2010 2:43 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you change -sk to -sh, that should add units.
edit:
but scuppers the total. To see units and a valid total, the last line would be
Gabe
edit:
but scuppers the total. To see units and a valid total, the last line would be
du -h --max-depth=1
Gabe
Message 21 of 23
(306 Views)
Re: ccgi space
04-01-2010 5:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yep, that's reporting units now, thanks. It looks like it counts subdirectories twice (i.e. a parent's size seems to be the size of its files plus the size of its child folders) so the total is misleading, but I can live with that.
Message 22 of 23
(306 Views)
Re: ccgi space
04-01-2010 7:32 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
So Bob and Chris, I am still waiting for an intelligble reply from Plusnet staff about my usage...got any info?
Quote from: Bob They were checked jelv and due to their negligible size I'd be surprised anyway if they brought the total up to 250MB+
Message 23 of 23
(306 Views)
- « Previous
-
- 1
- 2
- Next »
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page