Customize hash packet size for ftp

The ftp hash command prints a # for every packet downloaded. However  I have seen that there are different packet sizes used (1024 or 2048 bytes) across platforms which renders tracking the ftp progress inconsistent.
As we use ftp to download large files in the background I need to track download progress, and counting the number of #'s appeared the best solution.
Is there a command in ftp that allows you to define the packet size for the hash command?
valerieschupbachAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

giltjrCommented:
IIRC the hash size is unqiue to each ftp client and some clients don't have the hash command.

So as long as you use the same client every time you should know how many bytes each hash mark represents.

What ftp client are you using?
0
valerieschupbachAuthor Commented:
The ftp.exe.
Platforms are win2k, winxp, vista and currently win7 (rc1).
The difference appears to be between vista and xp/win7.
Do you mean that the packet size is built-in and cannot be changed?  In that case I will need to find out the platform of the customer and derive the size from that?
Thanks
0
giltjrCommented:
It's not a packet size, it a counting size and it is determined by whomever wrote the ftp client.

If you have something that is trapping and counting the hash sizes, then you should also be able to trap the message when you issue the hash command and see what each hash represents.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.