Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'mount_webdav format' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
mount_webdav format
Authored by: tz on Apr 19, '02 07:47:36PM

The format is a pair of 4 bytes which is the length of the string, followed by the string. e.g. for a string ABCDEFG, it would be 0x00 0x00 0x00 0x06 0x41 0x42 0x43 0x44 0x45 0x46 - 6 bytes long, so 0 0 0 6, followed by "ABCDEF".

You need the username len/string followed by the password len/string.



[ Reply to This | # ]
mount_webdav format
Authored by: bluehz on Apr 20, '02 09:04:04AM

That explains it a little better. So in the example you provided - you would send:

UserLen: 0x000x00x00x06
User: ABCDEF < 0x410x420x430x440x450x46
PWLen: 0x000x000x000x03
Pass: ABC < 0x410x420x43

You would send:

0x000x00x00x060x410x420x430x440x450x460x000x000x000x030x410x420x43

to this command:

mount_webdav -a0 http://idisk.mac.com/<user> /Volumes/<mount>

Is this correct?

In the example earlier they CAT a file to the cmd....so I would put:

0x000x00x00x060x410x420x430x440x450x460x000x000x000x030x410x420x43

into the text file.



[ Reply to This | # ]