Results 1 to 11 of 11

Thread: Transfer files via WIFI...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Transfer files via WIFI...

    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..

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

    Re: Transfer files via WIFI...

    map a drive and filecopy
    FTP
    Roll your own transfer
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Re: Transfer files via WIFI...

    do you have sample?

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Transfer files via WIFI...

    If your phone is connected to the nextwork, then it's the same as anyother file copy.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Re: Transfer files via WIFI...

    how can i access the destination path? i havent tried copy file to a network..

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

    Re: Transfer files via WIFI...

    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?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Re: Transfer files via WIFI...

    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..

  8. #8
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Transfer files via WIFI...

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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

    Re: Transfer files via WIFI...

    Quote Originally Posted by rothj0hn View Post
    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..
    How are you trying to connect?

    Take a look at Jim Wilsons' excellent video
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Re: Transfer files via WIFI...

    dont have any idea on how i can connect? what would be the easiest way to connect to the network via wifi?

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

    Re: Transfer files via WIFI...

    Hi,
    look at the video I pointed you at - it contains sample code too
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

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