Re: Transfer File from PDA to Win CE through USB
- From: "Chandra Murali" <ChandraMurali@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 6 Oct 2005 22:26:03 -0700
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.
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >>
>
>
>
.
- Follow-Ups:
- Re: Transfer File from PDA to Win CE through USB
- From: Paul G. Tobey [eMVP]
- Re: Transfer File from PDA to Win CE through USB
- References:
- Re: Transfer File from PDA to Win CE through USB
- From: Paul G. Tobey [eMVP]
- Re: Transfer File from PDA to Win CE through USB
- From: tdj
- Re: Transfer File from PDA to Win CE through USB
- From: Paul G. Tobey [eMVP]
- Re: Transfer File from PDA to Win CE through USB
- Prev by Date: Re: How to add web browser on the form (Pocket Pc)
- Next by Date: Re: VS.NET 2003/ActiveSync 3.8 and VS.NET 2005/ActiveSync 4.0
- Previous by thread: Re: Transfer File from PDA to Win CE through USB
- Next by thread: Re: Transfer File from PDA to Win CE through USB
- Index(es):
Relevant Pages
|