Plugin Install error

Does anyone know why a plugin, which works fine when uploaded via ftp, gives this error when the same folder and files are zipped up and uploaded through wordpress:

The package could not be installed. No valid plugins were found.

Plugin install failed.

Thanks,

Andrew