Re: Transfer File from PDA to Win CE through USB



It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't have
virtual serial connections over USB already, forget about doing things this
way or resign yourself to many months of effort.

Paul T.

"Chandra Murali" <ChandraMurali@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:30C9484C-8F5B-4470-8201-C4351BECF227@xxxxxxxxxxxxxxxx
> Hi Paul,
> The only communication available betwwen CE device and PDA is USB
> connection. Through USB cable how can I transfer the file. Is it possible
> to
> write HTTP or FTP server using this USB connection.
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> Sure. FTP, HTTP, etc. are both client/server protocols and can transfer
>> files. They both use TCP. The easiest thing would be to have an HTTP or
>> FTP server on one or the other of the devices and just write your program
>> to
>> use one of those protocols, which are well-wrapped, either in .NET CF
>> itself
>> or OpenNETCF SDF. That saves you from writing two programs. If you
>> don't
>> know who is going to contact who to make the transfer, then maybe you
>> will
>> have to write both ends, but a file is just a sequence of bytes and a
>> socket
>> is just a pipe into which you can pour bytes or pull bytes, so it's not
>> magic.
>>
>> Now, if you're actually asking, "Can I write a socket program that
>> actually
>> communicates over USB to transfer the files?", then I'd say no, forget
>> about
>> that. The process of building a WinSock-compatible socket structure over
>> USB is too much of a pain; you'd be better off using the virtual serial
>> port
>> scheme.
>>
>> Paul T.
>>
>> "Chandra Murali" <ChandraMurali@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
>> message
>> news:54A72EC4-458F-4166-8141-DD9211EC9FBC@xxxxxxxxxxxxxxxx
>> > Hi Paul,
>> > Is it possible to write a TCP/IP Client Server application in
>> > windows
>> > CE
>> > device and PDA device to transfer file from PDA to Windows CE Device?.
>> >
>> >
>> > "Paul G. Tobey [eMVP]" wrote:
>> >
>> >> Most USB-equipped devices create a virtual serial port as one method
>> >> of
>> >> communication off of the device. You'd have to consult the
>> >> documentation
>> >> for your device to find out if that's the case and, if so, what COM
>> >> port
>> >> name is used for that virtual port.
>> >>
>> >> Paul T.
>> >>
>> >> "tdj" <tdjspam@xxxxxxxxx> wrote in message
>> >> news:43442477$0$11063$e4fe514c@xxxxxxxxxxxxxxxxx
>> >> > Do you have any practical suggestion for the "serial port emulation"
>> >> > ?
>> >> >
>> >> > I woul like to communicate (between the PocketPC and the PC) through
>> >> > a
>> >> > USB
>> >> > connection using it like a serial connection, is that possible? My
>> >> > application allready works fine with real serial communication, but
>> >> > customers start complaining they could not find a PocketPC with a
>> >> > serial
>> >> > port anymore (I think there are enough, but that's another
>> >> > discusison
>> >> > <g>)
>> >> >
>> >> > regards,
>> >> >
>> >> > Tony
>> >> >
>> >> > "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
>> >> > com>
>> >> > schreef in bericht news:OtvnYEdyFHA.2960@xxxxxxxxxxxxxxxxxxxxxxx
>> >> >> Well, you could a) use ActiveSync, b) use serial port emulation, on
>> >> >> both
>> >> >> ends, and write programs, again on both ends, to transfer the data
>> >> >> via
>> >> >> serial. If neither of those sounds good to you, tell us why and
>> >> >> that
>> >> > might
>> >> >> illuminate what the right answer for you is.
>> >> >>
>> >> >> Paul T.
>> >> >>
>> >> >> "Chandra Murali" <ChandraMurali@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
>> >> > message
>> >> >> news:E458CBFC-BDD5-47F8-AC66-44297FEF651C@xxxxxxxxxxxxxxxx
>> >> >> > Hi All,
>> >> >> > I like to know how to transfer a file from PDA to an Windows
>> >> >> > CE.NET
>> >> >> > device. Both these devices are connected through USB. File in PDA
>> >> >> > have
>> >> > to
>> >> >> > bo
>> >> >> > transferred automatically when the device is connected to Wnidows
>> >> >> > ce.NET
>> >> >> > through USB cable.
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>>
>>
>>


.



Relevant Pages

  • Re: HTTP access
    ... Use HTTP POST or send a form to the server or send the data by including it ... Paul G. Tobey wrote: ... every request and most responses are human-readable. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Issue when changing IP address from Static to DHCP
    ... Yes i understand Paul. ... when i use a DHCP ip address rather than a static one? ... Remote Registry Editor (through USB) ... > that the server refused to assign it an address. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Outlook RPC over HTTp deosnt work
    ... try to use RPC over HTTP to connect the Exchange Server. ... What SBS is running on the problematic Server? ...
    (microsoft.public.windows.server.sbs)
  • Re: RPC over HTTP
    ... I will help you with the PRC over Http issue in this thread. ... and go through the Internet option. ... On the Web Server Certificate page shows. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: RPC over HTTP
    ... Are there any other ways of configuring the RPC over HTTP? ... Outlook Web Access, Business Website and so on. ... On the Web Server Certificate page shows. ...
    (microsoft.public.windows.server.sbs)