file comparision after upload

how can I compare a .zip file

that I uploaded to lamp shared server hostupon.com using windows 10 winscp application

I want to know if file is uploaded properly

I tried araxis merge folder comparison after downloading and uppacking but there must be an easier way
LVL 1
rgb192Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Natty GregIn Theory (IT)Commented:
You can use beyond compare, while uploading the file it will do what you asked.
0
marsiliesCommented:
As nattygreg mentioned, you can use Beyond Compare, but it's not a free program:
http://www.scootersoftware.com/features.php

It'd only compare ZIP to ZIP though, not ZIP to the original uncompressed file. You can use 7-zip to test the integrity of the zip file before uploading, then compare the uploaded zip to the local zip.
https://superuser.com/questions/526275/how-can-i-test-all-zip-files-in-a-folder-to-verify-if-they-are-corrupted-or-not


A free alternative to Beyond Compare may be WinMerge 2011, which is said to have FTP support, not sure if that include SFTP too though:
http://alternativeto.net/software/winmerge-2011/
0
dustmite1111Commented:
You could perform a hash check before and after transfer
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

Gerwin Jansen, EE MVETopic Advisor Commented:
Use "unzip -t <your zip file>" to test the integrity of the file on the destination. You need to login to the remote server to do this.
0
rgb192Author Commented:
You could perform a hash check before and after transfer

how?
0
marsiliesCommented:
Since it's a LAMP server (Linux, Apache, MySQL, and PHP), you could use the following PHP code to hash the files on the server:
http://php.net/manual/en/function.hash-file.php
0
Gerwin Jansen, EE MVETopic Advisor Commented:
On Linux you do:

md5sum <file>

On Windows there are a lot of small utilities out there that do the same. For example http://www.winmd5.com/
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
Linux

From novice to tech pro — start learning today.