I am using Visual C++ 2005(Visual Studio 2005) to develop Application for
Symbol Technologies Windows Mobile 2005 PDA.
I have used following codes to connect to FTP Server:
hInternetHandle = InternetOpen(_T("Microsoft Internet Explorer"),
INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, INTERNET_INVALID_PORT_NUMBER);
if ( hInternetHandle == 0 )
{
dwError = GetLastError();
HangUp();
ShowLastError(dwError);
return FALSE;
}
hFTPHandle = InternetConnect(hInternetHandle, tszFTPServerName,
ipFTPPortNo, tszFTPUserId, tszFTPPassword, INTERNET_SERVICE_FTP,
INTERNET_FLAG_PASSIVE, 0);
if ( hFTPHandle == 0 )
{
dwError = GetLastError();
InternetCloseHandle(hInternetHandle);
HangUp();
ShowLastError(dwError);
return FALSE;
}
Now I need to connect to Secure FTP Server.
Please can anybody tell me how I can change this code to use for Secure FTP
Server.
Thank you & regards
Dev
More on SFTP can be found here:
http://en.wikipedia.org/wiki/SSH_file_transfer_protocol
-Chris
"Dev" <D...@discussions.microsoft.com> wrote in message
news:DA5CF912-3DA2-4FA5...@microsoft.com...