On Mar 11, 2007, at 8:54 PM, Matt Howe wrote:
> I would like Ladle to be able to
> load packages, even though it is designed primarily as a sync utility.
I can only speak for NTK, but I assume that this is very similar:
Start you connection (in my case via Toolkit/Download Package) using
the standard MNP blocks.
Newton sends: 'newt' 'ntp ' 'dpkg' 0x00000000
NTK sends: 'newt' 'ntp ' 'pkgX' (uint size of UTF16 String) (Package
Name)
Package Name is for example: "Test:SIG"
NTK sends: 'newt' 'ntp ' 'pkg ' (uint size of package)
NTK now sends the exact dump of the package, separated into blocks no
larger than 1024 bytes of data
Newton sends: 'newt' 'ntp ' 'rslt' (uint size of result code (4))
(uint result code (0))
NTK sends: 'newt' 'ntp ' 'term' (uint 0)
I hope that helps?
Matthias
---- http://robowerk.com/ -- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/Received on Sun Mar 11 16:56:11 2007
This archive was generated by hypermail 2.1.8 : Sun Mar 11 2007 - 17:30:00 EDT