-
Aug 20th, 2006, 06:07 AM
#1
Thread Starter
Addicted Member
-
Aug 20th, 2006, 02:48 PM
#2
Re: Get available FTP space?
that would require some kind of SSH commands, i would think. Do you have cPanel on your server?
My usual boring signature: Something
-
Aug 21st, 2006, 01:31 AM
#3
Thread Starter
Addicted Member
Re: Get available FTP space?
-
Aug 21st, 2006, 01:57 AM
#4
Re: Get available FTP space?
huh. i am not very good with connecting to the internet in vb. Maybe some kind of internet transfer, i just read a thread about it yesterday, might want to search it. sorry, i am not much help...
My usual boring signature: Something
-
Aug 21st, 2006, 02:07 AM
#5
Junior Member
Re: Get available FTP space?
i was gonna try this the other day to see how much bandwidth i had used but i ended up getting some1 to write me a php page then just read it off of that
-
Aug 21st, 2006, 07:28 AM
#6
Thread Starter
Addicted Member
Re: Get available FTP space?
can I have that code? the php code and the code for vb to read of it?
-
Aug 21st, 2006, 07:35 AM
#7
Fanatic Member
Re: Get available FTP space?
Visit it. this is a very good code for handling ftp operations. Link
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
Aug 21st, 2006, 07:39 AM
#8
Thread Starter
Addicted Member
Re: Get available FTP space?
okay, but is it able to get the amount of space you've got left? that's what's interessting.
-
Aug 21st, 2006, 08:01 AM
#9
Fanatic Member
Re: Get available FTP space?
No there is no such thing. but u can get thesize ofa file like this:
VB Code:
ITC.Execute , "SIZE " & Chr(34) & lstRemoteFile.Text & Chr(34)
But its for particular file in a list box. by looping u can find out the file one by one in a listbox. but i guess that it will be very time consuming.
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
Aug 21st, 2006, 08:05 AM
#10
Thread Starter
Addicted Member
Re: Get available FTP space?
do I need that EZ FTP to do that?
-
Aug 21st, 2006, 01:58 PM
#11
Thread Starter
Addicted Member
Re: Get available FTP space?
very well...does anyone have another solution?
-
Aug 21st, 2006, 02:56 PM
#12
Re: Get available FTP space?
Since the amount of space you have is an arbitrarily set thing (your hosting company gives you as much as you pay for - it has nothing to do with actual physical size of any medium), you'd have to find out how much space you're using and subtract that from what you're paying for. There's nothing on the server that you can access that will tell you how much space you're paying for.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Aug 21st, 2006, 03:00 PM
#13
Thread Starter
Addicted Member
Re: Get available FTP space?
I know that, but how do I find out how much space I'm using and subtract that from what I'm paying for?
That's what I need to know.
I know other programs can do this, for example FileZilla...so it should be able for a VB app. to do so as well.
Doesn't anyone in this whole forum know how to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|