|
-
Nov 30th, 2009, 12:37 PM
#1
Thread Starter
Member
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
-
Nov 30th, 2009, 12:41 PM
#2
Frenzied Member
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.
-
Dec 7th, 2009, 10:50 AM
#3
Thread Starter
Member
Re: Transfer data from my Windows Mobile App
hi, do you have any samples? vb.net compact framework transferring a file via ftp?
-
Dec 8th, 2009, 01:00 AM
#4
Frenzied Member
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.
-
Dec 8th, 2009, 09:31 AM
#5
Thread Starter
Member
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
-
Dec 8th, 2009, 05:34 PM
#6
Frenzied Member
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
-
Dec 9th, 2009, 05:37 AM
#7
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
-
Dec 14th, 2009, 11:59 AM
#8
Thread Starter
Member
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
-
Dec 14th, 2009, 12:39 PM
#9
Frenzied Member
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)
-
Dec 15th, 2009, 10:53 AM
#10
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|