Click here to Skip to main content
15,915,810 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Sharepoint server 2007 Pin
SHatchard16-Oct-07 21:31
SHatchard16-Oct-07 21:31 
QuestionLooking for a Javascript Example... Pin
Bhicken7815-Oct-07 10:44
Bhicken7815-Oct-07 10:44 
AnswerRe: Looking for a Javascript Example... Pin
led mike15-Oct-07 11:06
led mike15-Oct-07 11:06 
AnswerRe: Looking for a Javascript Example... Pin
Elizma16-Oct-07 1:53
Elizma16-Oct-07 1:53 
QuestionWeb Service -DLL bound deployment Pin
Bob Enein15-Oct-07 5:18
Bob Enein15-Oct-07 5:18 
Questionasp:CustomValidator Control Pin
Brendan Vogt14-Oct-07 23:57
Brendan Vogt14-Oct-07 23:57 
AnswerRe: asp:CustomValidator Control Pin
Christian Graus15-Oct-07 0:17
protectorChristian Graus15-Oct-07 0:17 
QuestionClient FTP Error Code 12029 Pin
dev2414-Oct-07 22:10
dev2414-Oct-07 22:10 
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

QuestionSearch Feature [modified] Pin
saaiman14-Oct-07 21:11
saaiman14-Oct-07 21:11 
AnswerRe: Search Feature Pin
pmarfleet14-Oct-07 21:51
pmarfleet14-Oct-07 21:51 
GeneralRe: Search Feature Pin
saaiman15-Oct-07 21:09
saaiman15-Oct-07 21:09 
GeneralRe: Search Feature Pin
pmarfleet15-Oct-07 22:07
pmarfleet15-Oct-07 22:07 
GeneralRe: Search Feature Pin
Christian Graus15-Oct-07 22:45
protectorChristian Graus15-Oct-07 22:45 
QuestionControl that automatically drags when page is scrolled down Pin
CandyMe14-Oct-07 20:36
CandyMe14-Oct-07 20:36 
AnswerRe: Control that automatically drags when page is scrolled down [modified] Pin
Bjohnson3317-Oct-07 1:25
Bjohnson3317-Oct-07 1:25 
GeneralRe: Control that automatically drags when page is scrolled down Pin
CandyMe22-Oct-07 18:45
CandyMe22-Oct-07 18:45 
GeneralRe: Control that automatically drags when page is scrolled down Pin
Bjohnson3323-Oct-07 0:56
Bjohnson3323-Oct-07 0:56 
GeneralRe: Control that automatically drags when page is scrolled down Pin
CandyMe25-Oct-07 2:31
CandyMe25-Oct-07 2:31 
GeneralRe: Control that automatically drags when page is scrolled down Pin
Bjohnson3325-Oct-07 22:12
Bjohnson3325-Oct-07 22:12 
GeneralRe: Control that automatically drags when page is scrolled down Pin
CandyMe29-Oct-07 17:38
CandyMe29-Oct-07 17:38 
QuestionI used nant to build ASP .NET application Pin
balpanbh14-Oct-07 18:36
balpanbh14-Oct-07 18:36 
AnswerRe: I used nant to build ASP .NET application Pin
Paddy Boyd15-Oct-07 2:49
Paddy Boyd15-Oct-07 2:49 
Question[modified]To set the borders of the layers in javascript. Pin
gopal_Pandey13-Oct-07 5:17
gopal_Pandey13-Oct-07 5:17 
AnswerRe: set layers border using javascript Pin
Guffa13-Oct-07 6:33
Guffa13-Oct-07 6:33 
AnswerRe: set layers border using javascript Pin
Hesham Amin13-Oct-07 22:41
Hesham Amin13-Oct-07 22:41 

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.