Calculating file size with out reading the contents

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
naveen chedella
Posts: 5
Joined: Thu Dec 04, 2008 5:52 am

Calculating file size with out reading the contents

Post by naveen chedella » Thu Dec 04, 2008 6:04 am

Hi,
Here i have a requirement to calculate the file size which is placed in the Batch FTP External System.Condition here is we need to calculate file size with out reading file contents.The FTP environment can be either windows,AIX UNIX or HP UNIX.Can anyone please give idea to calculate?

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Calculating file size with out reading the contents

Post by mb » Thu Dec 04, 2008 6:13 am

Hello ..

This works without a problem with the FTP Library. In what programming language do you need the application? We can probably write a simple application for you for free.

Regards,
Mat

naveen chedella
Posts: 5
Joined: Thu Dec 04, 2008 5:52 am

Re: Calculating file size with out reading the contents

Post by naveen chedella » Thu Dec 04, 2008 6:23 am

Hello ..

This works without a problem with the FTP Library. In what programming language do you need the application? We can probably write a simple application for you for free.

Regards,
Mat

hi,
I have to do in the sun seebeyond JCAPS.can u give me the idea to do that.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Calculating file size with out reading the contents

Post by mb » Thu Dec 04, 2008 6:35 am

Do you just need to calculate the filesize of one file or of a directory with files?

naveen chedella
Posts: 5
Joined: Thu Dec 04, 2008 5:52 am

Re: Calculating file size with out reading the contents

Post by naveen chedella » Thu Dec 04, 2008 6:38 am

Do you just need to calculate the filesize of one file or of a directory with files?

Hi,
I need to calculate the file sizes for all the files in the directory?

naveen chedella
Posts: 5
Joined: Thu Dec 04, 2008 5:52 am

Re: Calculating file size with out reading the contents

Post by naveen chedella » Thu Dec 04, 2008 9:00 am

Do you just need to calculate the filesize of one file or of a directory with files?
Hi,
Can u send me code for calculate the filesize in java using FTP Library?

naveen chedella
Posts: 5
Joined: Thu Dec 04, 2008 5:52 am

Re: Calculating file size with out reading the contents

Post by naveen chedella » Thu Dec 04, 2008 10:26 am

Hi,
I need to calculate the file sizes for all the files in the directory?

Hi,
Can u send me code for calculate the filesize in java using FTP Library?

Post Reply