NuGet 1.6 push to NuGet.Server 1.5 HTTP 500 Errors

Dec 14, 2011 at 8:19 PM
Edited Dec 14, 2011 at 10:19 PM

I'm trying to push a package from the 1.6 command line client to a 1.5 server with the following

nuget push "<pathToPackage>" <key> -source http://<domain>/PackageFiles/<key>/nupkg

I get two HTTP 500s in return,

From url http://<domain>/PackageFiles/<key>/nupkg is a System.IO.FileFormatException: Archive file cannot be size 0

From url http://<domain>/PackageFiles/<key>/nupkg/ is a System.IO.FileFormatException: Archive file contains corrupted data

I've verified that the path to the package is correct, and tried two different packages. Packages can successfully be pushed via NPE client.