how can i transfer files via wifi in mobile programming.. my phone is wifi enable.. i just want to transfer my xml files to local PC without using active sync.. just by means of wifi..
Printable View
how can i transfer files via wifi in mobile programming.. my phone is wifi enable.. i just want to transfer my xml files to local PC without using active sync.. just by means of wifi..
map a drive and filecopy
FTP
Roll your own transfer
do you have sample?
If your phone is connected to the nextwork, then it's the same as anyother file copy.
-tg
how can i access the destination path? i havent tried copy file to a network..
Hi,
simple...
File.Copy( fromFileName, toFileName)
where toFileName is the network path - similar to "\\Myserver\SharedPath\myfile.txt"
You need to ensure you can access that path without authentication though
Does this help?
thanks for replies.. i have another problem, i cant connect to the network.. what i want to do is by pressing a button i can connect to the network via wifi and transfer files from mobile to pc and vice versa..
I'm not sure there is an easy way from VB to join a network, as there's security to navigate, not to mention getting the right network in the first place... I could be wrong, but I think you need to connect the device to the network first.
-tg
How are you trying to connect?
Take a look at Jim Wilsons' excellent video
dont have any idea on how i can connect? what would be the easiest way to connect to the network via wifi?
Hi,
look at the video I pointed you at - it contains sample code too