From: AEOM on
Hi!

I have a pocketpc with windows mobile 2003.
I try to use thies code for ftp

http://support.microsoft.com/default.aspx?scid=kb;en-us;305598

the error is here:

lngFtpHandle = InternetConnect(lngInternetHandle, myserverftp, _
INTERNET_DEFAULT_FTP_PORT, myusr, mypsw, _
INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0)


It's work in the emulator but don't work in pocketpc

Pocketpc work with internet explorer, msn etc

Any idea? It's a bug of wininet.dll?

Hi, AEOM



From: "<ctacke/>" on
It's probably a wininet bug. PPC 2002 for example is known to only be able
to make anonymous connections. Use a socket-based client.

-Chris


"AEOM" <info(a)hjkhjkh.it> wrote in message
news:BCCQd.548402$b5.25327178(a)news3.tin.it...
> Hi!
>
> I have a pocketpc with windows mobile 2003.
> I try to use thies code for ftp
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;305598
>
> the error is here:
>
> lngFtpHandle = InternetConnect(lngInternetHandle, myserverftp, _
> INTERNET_DEFAULT_FTP_PORT, myusr, mypsw, _
> INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0)
>
>
> It's work in the emulator but don't work in pocketpc
>
> Pocketpc work with internet explorer, msn etc
>
> Any idea? It's a bug of wininet.dll?
>
> Hi, AEOM
>
>
>


From: AEOM on
Hi Chris,

thanks for your reply!!!
Can you post me a sample of socket-based client?

take care
AEOM



"<ctacke/>" <ctacke_AT_OpenNETCF_com> ha scritto nel messaggio
news:%23orTmPCFFHA.628(a)TK2MSFTNGP15.phx.gbl...
> It's probably a wininet bug. PPC 2002 for example is known to only be
> able to make anonymous connections. Use a socket-based client.
>
> -Chris
>
>
> "AEOM" <info(a)hjkhjkh.it> wrote in message
> news:BCCQd.548402$b5.25327178(a)news3.tin.it...
>> Hi!
>>
>> I have a pocketpc with windows mobile 2003.
>> I try to use thies code for ftp
>>
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;305598
>>
>> the error is here:
>>
>> lngFtpHandle = InternetConnect(lngInternetHandle, myserverftp, _
>> INTERNET_DEFAULT_FTP_PORT, myusr, mypsw, _
>> INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0)
>>
>>
>> It's work in the emulator but don't work in pocketpc
>>
>> Pocketpc work with internet explorer, msn etc
>>
>> Any idea? It's a bug of wininet.dll?
>>
>> Hi, AEOM
>>
>>
>>
>
>


From: Chris Tacke, eMVP on
Post an FTP client? That a hell of a lot of code - way more than I can post
in a NG. There's one in the OpenNECF source vault.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate


"AEOM" <info(a)hjkhjkh.it> wrote in message
news:iqHQd.549542$b5.25364834(a)news3.tin.it...
> Hi Chris,
>
> thanks for your reply!!!
> Can you post me a sample of socket-based client?
>
> take care
> AEOM
>
>
>
> "<ctacke/>" <ctacke_AT_OpenNETCF_com> ha scritto nel messaggio
> news:%23orTmPCFFHA.628(a)TK2MSFTNGP15.phx.gbl...
>> It's probably a wininet bug. PPC 2002 for example is known to only be
>> able to make anonymous connections. Use a socket-based client.
>>
>> -Chris
>>
>>
>> "AEOM" <info(a)hjkhjkh.it> wrote in message
>> news:BCCQd.548402$b5.25327178(a)news3.tin.it...
>>> Hi!
>>>
>>> I have a pocketpc with windows mobile 2003.
>>> I try to use thies code for ftp
>>>
>>> http://support.microsoft.com/default.aspx?scid=kb;en-us;305598
>>>
>>> the error is here:
>>>
>>> lngFtpHandle = InternetConnect(lngInternetHandle, myserverftp, _
>>> INTERNET_DEFAULT_FTP_PORT, myusr, mypsw, _
>>> INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0)
>>>
>>>
>>> It's work in the emulator but don't work in pocketpc
>>>
>>> Pocketpc work with internet explorer, msn etc
>>>
>>> Any idea? It's a bug of wininet.dll?
>>>
>>> Hi, AEOM
>>>
>>>
>>>
>>
>>
>
>