开发者

iPhone/iPad: Transfer Files To/From Device?

开发者 https://www.devze.com 2023-02-18 01:41 出处:网络
Locked. Comments on this question have been disabled, but it is still accepting new answers and other interactions. Learn more.
Locked. Comments on this question have been disabled, but it is still accepting new answers and other interactions. Learn more.

Does Apple offer an API or Kit so that I can start my program on the Desktop and transfer files to/from the device (using the desktop program)? The device will have a similar program/sandbox available. I'm trying to avoid requiring the user to run iTunes, DiskAid, or similar program.

I found an earlier answer [1], but it stated to use cocoahttdserver. Shooting from the hip, a http server feels 'wrong' (in the Windows world, I have the Ce Rapi gear [2] to do the same).

Note that I only need to transfer to a single sandbox on the device - not an arbitrary sandbox. If needed, I have both Mac and iPhone developer accounts (for signing, sharing,开发者_开发百科 and other sandbox nicities).

Jeff

[1] iPhone : Transfer of files from Mac/Pc to app

[2] http://msdn.microsoft.com/en-us/library/ms860198.aspx


Sorry, but your options are wireless network transfer or iTunes. Of the wireless network transfers systems, if you need to be able to transfer over the local network HTTP+Bonjour is the best route.

Advertise your service on your desktop computer using a custom service type and use searchForServicesOfType:inDomain: on iOS to match only those services.

0

精彩评论

暂无评论...
验证码 换一张
取 消