The Daily Click ::. Forums ::. Klik Coding Help ::. FTP Object - file size
 

Post Reply  Post Oekaki 
 

Posted By Message

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
25th October, 2006 at 04:18:58 -

I've got question about FTP Object. I know how to download file and send them to the server directly by MMF. But I've got question how to check a file size? I mean I want to know when file upload ends and I've got problems with event size of file because counters or any values or text boxes don't show me what is the object size on my harddrive but I could check how many bytes were transfered and I want to check if those values are the same because then I'll be sure that file upload ends succefull.. Could you help me? Even if it will use other extensions...

 
www.therpg.pl

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
25th October, 2006 at 04:55:35 -

you can use the FTP command SIZE to get the file size as a decimal number
i.e "SIZE index.html" will return the size of index.html in the current directory you're browsing

 
My signature is never too big!!!

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
25th October, 2006 at 11:12:17 -

Size of file( "Ftp", "SIZE compare.rar" ) i Use such event because on ther I've got syntx error but it don't work.. Is some other way?

EDIT:

Ok I do it using a File Object bacause I still can't understand this FTP object expresion (it's similiar to that from FO but doesn't work ) THX for help

Image Edited by the Author.

 
www.therpg.pl
   

Post Reply



 



Advertisement

Worth A Click