Click here to Skip to main content
15,917,731 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: Using SqlCeEngine class in Windows application Pin
Scott Dorman28-Oct-07 9:26
professionalScott Dorman28-Oct-07 9:26 
QuestionAbout .Net Mobile Application Pin
i gr826-Oct-07 1:19
i gr826-Oct-07 1:19 
AnswerRe: About .Net Mobile Application Pin
DigiOz Multimedia27-Oct-07 5:37
DigiOz Multimedia27-Oct-07 5:37 
QuestionCombobox keypress Pin
Yoyosch22-Oct-07 3:25
Yoyosch22-Oct-07 3:25 
Questionrecording sound in mobile Pin
sanil.santa19-Oct-07 6:09
sanil.santa19-Oct-07 6:09 
QuestionBest way to get notifications from dhclient? Pin
shakhtyor18-Oct-07 6:10
shakhtyor18-Oct-07 6:10 
QuestionBuilding mobile app from a command line Pin
alkresin15-Oct-07 7:47
alkresin15-Oct-07 7:47 
AnswerRe: Building mobile app from a command line Pin
Mike Dimmick17-Oct-07 2:43
Mike Dimmick17-Oct-07 2:43 
QuestionRecovery previous crash form when my application is running(i.e Data Recovery) Pin
ram krishna pattnayak15-Oct-07 2:01
ram krishna pattnayak15-Oct-07 2:01 
Questioncreating new shell for windows Pin
sresth14-Oct-07 17:53
sresth14-Oct-07 17:53 
AnswerRe: creating new shell for windows Pin
Mike Dimmick15-Oct-07 4:25
Mike Dimmick15-Oct-07 4:25 
Questionmobile application Pin
zafax_13-Oct-07 0:32
zafax_13-Oct-07 0:32 
QuestionDatabase connectivity in J2ME Mobile Edition Pin
Mogha Ritesh11-Oct-07 19:54
Mogha Ritesh11-Oct-07 19:54 
Questiondistributing a license with PDA Pin
steve_rm11-Oct-07 15:23
steve_rm11-Oct-07 15:23 
AnswerRe: distributing a license with PDA Pin
Mike Dimmick12-Oct-07 9:22
Mike Dimmick12-Oct-07 9:22 
QuestionFile uploading in asp.net 1.1 web forms [modified] Pin
Anoop_Ravindran9-Oct-07 23:45
Anoop_Ravindran9-Oct-07 23:45 
QuestionHow to get Notification of program launch and termination Pin
Resare Shen9-Oct-07 2:26
Resare Shen9-Oct-07 2:26 
QuestionGet notified when process is started Pin
Arnon A8-Oct-07 21:52
Arnon A8-Oct-07 21:52 
QuestionJust getting started with WinMo - a few questions Pin
thindave8-Oct-07 13:15
thindave8-Oct-07 13:15 
QuestionClient FTP Error Code 12029 Pin
dev248-Oct-07 12:33
dev248-Oct-07 12:33 
Hi,

Following code is written in Visual Studio 2005 C++ for PDA(MC3000).
PDA is Motorola/Symbol's MC3000 and it has Windows CE 5.0 Operating System.

FTP Error Code 12029 meaning "Internet can not connect" as per Microsoft Documentation.

I am using following code to do FTP Send file to FTP Server:

int JSCFTPSendFile(TCHAR *tszLocalFileName, TCHAR *tszRemoteFileName)
{

HANDLE hInternetHandle = 0;
HANDLE hFTPHandle = 0;
TCHAR tszFTPServerName[256];
TCHAR tszFTPUserId[51];
TCHAR tszFTPPassword[51];
INTERNET_PORT ipFTPPortNo = 21;

_tcscpy(tszFTPServerName, _T("ftp.myftpserver.com");
_tcscpy(tszFTPUserId, _T("MyUserid");
_tcscpy(tszFTPPassword, _T("MyPassword");

hInternetHandle = InternetOpen(_T("Microsoft Internet Explorer"), INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, INTERNET_INVALID_PORT_NUMBER);
if ( hInternetHandle == 0 )
{
return FALSE;
}

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

if ( hFTPHandle == 0 )
{

InternetCloseHandle(hInternetHandle);
return FALSE;
}
// upto here code works fine but when it executes FtpPutFile() I get Error code 12029
iRetStatus = FtpPutFile(hFTPHandle, tszSendFileName, tszRemoteFileName, FTP_TRANSFER_TYPE_BINARY, 0);
if ( iRetStatus )
{
bFileSent = true;
}

InternetCloseHandle(hFTPHandle);
InternetCloseHandle(hInternetHandle);

return TRUE;

}


In the above function upto "InternetConnect()" code works fine but when it executes "FtpPutFile()" I get Error code 12029.


This code works fine to conect to any standard FTP Server.
I am first connecting to PC using ActiveSync(Version 4.1) and once ActiveSync Connection established I can connect to any FTP Server(Local Network or Remote thru the gateway ) and transmit file. But if I try to send file from PDA(MC3000) to ActiveSync Connected PC(FTP Server Name is V4000) then it does not work.
I tried server name as "ppp_peer", "localhost", "V4000"(which is actual FTP Server Name for the local PC ). and it did not work.
Your help will be greatly appreciated.



Regards,



Dev


QuestionApplication Deployment Pin
MrWizard548-Oct-07 11:58
MrWizard548-Oct-07 11:58 
Questionmobile application Pin
Ahamed Azeem6-Oct-07 23:08
Ahamed Azeem6-Oct-07 23:08 
AnswerRe: mobile application Pin
Raman-kumar10-Oct-07 0:02
Raman-kumar10-Oct-07 0:02 
AnswerRe: mobile application Pin
Anoop_Ravindran10-Oct-07 0:28
Anoop_Ravindran10-Oct-07 0:28 
GeneralRe: mobile application Pin
Ahamed Azeem10-Oct-07 0:31
Ahamed Azeem10-Oct-07 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.