Results 1 to 3 of 3

Thread: [2005] Need Advice on direction

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    In my head
    Posts
    913

    [2005] Need Advice on direction

    My goal is to create an app that will not only detect when a PnPDevice connects (done using WMI btw) but also allow the transfer of files from the desktop/network to the device.

    Where I am running into problems is how to actually transfer the file / get to the files stored locally. Do I use TCP, sockets, UDP? The device in question is using Windows Mobile 5. I know that I cannot and do not want to modify the system files as they are part of the actual build of the unit. The file(s) I am looking to send are from a program that I have created.

    I know Windows Explorer can get to the device so I should be able to as well. The device can also get to the network drives so it should be possible from there as well. Any and all input would be a great help!!

    D
    Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP

    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

    Reserved Words in Access | Connection Strings

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: [2005] Need Advice on direction

    A little clarification, first: I read your opening statement to suggest that you are writing a program that will be running on the desktop and watching for the mobile to be connected. The rest of what you talk about suggested that the program will be for the mobile.

    If you have a program on each end, then I would go with TCP, of those three options (and have done so, but it was years ago in .NET2003). UDP will be a pain in the ass for anything other than very small files, because of the unreliable nature. If the size of the file exceeded the size of the UDP packet, it would get chunked, and would be up to you to stitch it back together, which is unwarranted in this case.
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    In my head
    Posts
    913

    Re: [2005] Need Advice on direction

    The program that detects the handheld and that I would like to do the transfer is on a desktop. The handheld runs the application that would be updated. I mapping this process out, it also came to my attention that I would need to be able to kill the process (program) that runs on the handheld as well as reboot the device when the update is complete. I am researching now to see how the security with/between Mobile 2005, etc and XP handles all that - kind of coming up empty handed though.

    Thanks for the insight shaggy, I am open to any and all suggestions, directions, advice, etc!!

    D
    Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP

    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

    Reserved Words in Access | Connection Strings

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width