Results 1 to 10 of 10

Thread: Transfer data from my Windows Mobile App

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    52

    Transfer data from my Windows Mobile App

    Hi All,

    I have developed a windows mobile app in VB.NET that takes allows customers to place orders. The orders are saved into an SDF. My next task is to transfer these orders, via XML or a text file to an ftp site. I'm going to allow the orders to be transferred also by ActiveSync, but does anyone know any good links to it being done "wireless".

    Any help would be appreciated

    many thanks

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Transfer data from my Windows Mobile App

    Hi,
    you should be able to do it via FTP the easiest. Alternately, look at the converation going on in this thread

    There is also 'SyncServices' and Replication, saying you are using SqlCE.

    There are many methods to acheive what you want.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    52

    Re: Transfer data from my Windows Mobile App

    hi, do you have any samples? vb.net compact framework transferring a file via ftp?

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Transfer data from my Windows Mobile App

    Hi,
    it is not natively built in to .Net CF - you need to look at a 3rd party solution (OpenNetCF,InTheHand,nSoftware,http://code.google.com/p/ploopftp/

    (freeware)) for an FTP component, or roll your own - I'm pretty sure there is source code around.

    If you allow activesync you can use a 'mapped drive' and copy the files.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    52

    Re: Transfer data from my Windows Mobile App

    Hi, thanks very much, this is all good stuff, i have downloaded the OpenNetCF and ploop libraries but i have not much idea how to use them. There is very little help out there in simply uploading a file to an ftp directory

    aaaarggghh

  6. #6
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Transfer data from my Windows Mobile App

    not used them - but would guess they would work pretty standard - may be some samples on OpenNetCF Forum
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Transfer data from my Windows Mobile App

    Hey,

    I haven't look at them recently, but you might find an example in the sample applications from OpenNetCF:

    http://www.opennetcf.com/cf/products/sdf.ocf

    Gary

  8. #8

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    52

    Re: Transfer data from my Windows Mobile App

    hi all, thanks for your replies. I have managed to get the OpenNetCF sources and managed to send files to an ftp directory via my vb.net application. However, it only seems to work when my mobile device is plugged into the PC, i've not got it working "wireless" yet (the error seems to stem from opening a socket) and even when i do get it FTPing, it doesn't always work, very sporadic.

    Are there any other ways of sending files "wireless" from the Compact Framework? Such as HTTP? Any examples ? as finding source code for the OpenNetCF stuff was very difficult!

    Thanks for your help so far, im having real trouble sending files from my mobile device

  9. #9
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Transfer data from my Windows Mobile App

    Hi,
    how are you connecting? We do replication and FTP photographs over 3G/GPRS without many problems (notice many not any)
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  10. #10

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    52

    Re: Transfer data from my Windows Mobile App

    Thanks to everyone who has posted but after giving up the ftp route, i have gone the http route and everything is great. The following article is superb and gets you transferring files successfully

    http://msdn.microsoft.com/en-us/library/aa446517.aspx

    once again, many thanks

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