Re: Transfer File from PDA to Win CE through USB



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: Scheduling of tasks/whats the maximum frequency of the taskbeing executed?
    ... WGET is used to pull an image that changes every two seconds from an ... That image would then be accessed via HTTP on that server ... (basically, HTTP in the last step is an internet resource, HTTP in the ... I'm assuming the FTP server is yours. ...
    (RedHat)
  • Re: MassFS and other problems
    ... >> I've played with the Browse settings to no avail. ... >Sounds reasonable given the setting below for http. ... Using port 80 ... >>>Have you caused a change to the!MassFS or base USB files in the Boot ...
    (comp.sys.acorn.apps)
  • Re: Verizon vx6700 as notebook modem
    ... it as my laptop modem. ... I used Sprint's version of the 6700 as a USB modem and it worked very ... I have read that wModem is even included on the XV6700 CD. ... I found that the USB connection has been disabled on the ...
    (alt.cellular.verizon)
  • Re: Transfer File from PDA to Win CE through USB
    ... magically or automatically you can access it over USB. ... > Hi Paul, ... > write HTTP or FTP server using this USB connection. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: newbie seeking help to use xilinx spart-3a starter kit
    ... I could use minicom with a null serial connection with the board. ... the case of usb connection, what softwares should I use to see the boot ... Spartan 3E starter kit, there was only one USB connector, which is ... informations are not published by FPGA vendors, ...
    (comp.arch.fpga)