Copy file from device to desktop

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

With an Active Sync connection, what is the best way to have a program
running on the mobile device copy a file to the desktop?

Thx

Helen
 
Hi,

The "best way" depends on the application. However, RAPI often is the most
straight-forward. Take a look at the communication class wrappers from
www.opennetcf.org. As the name implies, these are free and come with source
code.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Thanks for the response.

I am already using RAPI from the desktop to the device, but I need some way
of having a program that runs on the device to send a file to the desktop. Do
I need to use a socket or something?

Chees,

Helen
 
That's one way. Maybe the desktop has an FTP server running? Or a Web
server? Those would be two other ways. Maybe the desktop user has
configured ActiveSync to synchronize a folder on the device with one on the
desktop and you could just copy your file there?

Paul T.
 
Hi,

When I do this I either use FTP (requires a FTP server running on the
desktop), or my own home-brewed file transfer programs that use TCP/IP
sockets -- and an associated custom app on the desktop.

As Paul says, a web service is another way. Regardless, you need apps that
run on both machines.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Back
Top