I have to develop comms for Secure FTP for Windows Mobile 2005( Symbol PDA)
as follows:

Host Name: testserver.joshisoft.com (Example)
User Id: 99999911
Password: 99999911
Server Type: FTP/SLL(AUTH SSL)
Host Type: Automatic Detect
Firewall: None
Use Passive Mode for Data Connection
Under SSL - No Client Certificate
Use Unencripted Command Channel after SSL Authentication

Above are parameters I have used with WS_FTP Program and then I can Send &
Receive Files to/from Our Company's Server.
I need to write the application to Transmit & Receive Files with above
parameters.
I will appreciate If anybody can help me on above issue.
Our Development Platform is Visual Studio 2005, PDA O/S: Windows Mobile 5.0
and Development Language is C++ (MFC Native).

Thank you & regards,

Dev

RE: FTP Client over SSL by Dev

Dev
Sat Apr 29 03:48:01 CDT 2006

Is there anybody who can help me on this please?

Re: FTP Client over SSL by ctacke/>

ctacke/>
Sat Apr 29 06:19:45 CDT 2006

What code have you already wriiten? What part of it fails? With what
exception? Right now you're asking us to write you a full FTP client, and I
don't think anyone here is going to do that for you for nothing.

-Chris


"Dev" <Dev@discussions.microsoft.com> wrote in message
news:8FF12A7F-92EB-4428-85CD-6CDAEAEDE3EE@microsoft.com...
> Is there anybody who can help me on this please?



Re: FTP Client over SSL by Dev

Dev
Sat Apr 29 06:43:01 CDT 2006

I have written following code:

hInternetHandle = InternetOpen(_T("Microsoft Internet Explorer"),
INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, INTERNET_INVALID_PORT_NUMBER);

hFTPHandle = InternetConnect(hInternetHandle, tszFTPServerName,
ipFTPPortNo, tszFTPUserId, tszFTPPassword, INTERNET_SERVICE_FTP,
INTERNET_FLAG_PASSIVE | INTERNET_FLAG_IGNORE_CERT_CN_INVALID |
INTERNET_FLAG_SECURE,
0);

if ( hFTPHandle == 0 )
{
dwError = GetLastError();
InternetCloseHandle(hInternetHandle);
HangUp();
ShowLastError(dwError);
return FALSE;
}

When the application executes InternetConnect() function, I am getting
Invalid Password Error message(Error Code = 12014).

Regards,

Dev



Re: FTP Client over SSL by ctacke/>

ctacke/>
Sat Apr 29 06:52:22 CDT 2006

And I replied to you several days ago that SFTP doesn't use the standard
APIs (or more correctly the standard APIs don't have support for SFTP
protocols). There is a working spec out there that describes it (I think I
provided a link to that too, if not Google can find it). You are going to
have to read up on it and implement it or find a 3rd party library for it.

-Chris



"Dev" <Dev@discussions.microsoft.com> wrote in message
news:6CE0407E-61D0-4149-A0A3-646A2D898FAC@microsoft.com...
>I have written following code:
>
> hInternetHandle = InternetOpen(_T("Microsoft Internet Explorer"),
> INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, INTERNET_INVALID_PORT_NUMBER);
>
> hFTPHandle = InternetConnect(hInternetHandle, tszFTPServerName,
> ipFTPPortNo, tszFTPUserId, tszFTPPassword, INTERNET_SERVICE_FTP,
> INTERNET_FLAG_PASSIVE | INTERNET_FLAG_IGNORE_CERT_CN_INVALID |
> INTERNET_FLAG_SECURE,
> 0);
>
> if ( hFTPHandle == 0 )
> {
> dwError = GetLastError();
> InternetCloseHandle(hInternetHandle);
> HangUp();
> ShowLastError(dwError);
> return FALSE;
> }
>
> When the application executes InternetConnect() function, I am getting
> Invalid Password Error message(Error Code = 12014).
>
> Regards,
>
> Dev
>
>



Re: FTP Client over SSL by Dev

Dev
Sat Apr 29 07:09:02 CDT 2006

Thank you Chris.
I am bit confused. Somebody told me that my FTP Comms are different from
SFTP and I am new to FTP Comms.
Could you send me details(if you know) for Third party Library and I will
buy the Library.

Regards,

Dev