Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filesize different in different OS issue
Message
 
 
À
18/09/2002 21:17:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00702094
Message ID:
00702238
Vues:
20
Can you include a CRC as part of the file transfer? Create CRC on the client side. Send it along with the file to the server. Have the server perform the same CRC check and compare it to the CRC sent. If it doesn't match then request the file again; if it does match, you're okay.

I believe some of the transfer protocols (XModem, YModem) use this method, although I can't be sure.

HTH.

>Hi,
>
>I am creating an client application that will auto dial in to my server
>and do some file transfer of any stuff of file.
>
>My client is running on Win2k whileas my server might be running OS like
>Linux, HP UX.
>
>So, in order to ensure that any file transfer is successfully, I do some
>checking like ensure that the zip file transfer/any file transfer exist
>first and that both source and destination file size are the same.
>
>But, it seem like different OS reported different filesize, so how
>can I solve this issue to ensure that my file transfer is okay.
>I can't use CRC check as not all my files are zip files, even if they
>are zip files, CRC check on server side from client side is very slow and
>unreliable too.
>
>So, anyone had any good ideal to overcome this issue.
>Please kindly help and comment on this issue. Thank you.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform