tftp class

Postby vilian » Tue Jan 09, 2007 12:00 am

Antonio,

You already have a forecast to launch the version with the class tFtp finished?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Tue Jan 09, 2007 12:14 am

Vilian,

Its already published in FWPPC December 2006 build.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby vilian » Thu Jan 18, 2007 8:50 pm

Hi Antonio,

I made the update for version 7.01, but I continue with problems to send archives saw ftp! Class FtpFile is not available?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Thu Jan 18, 2007 9:03 pm

Vilian,

What problems do you have ? Can you post a sample ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby vilian » Thu Jan 18, 2007 11:00 pm

The problem is the lack of class TFtpFile, it still is not ready?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Fri Jan 19, 2007 12:46 am

Vilian,

Please download FWPPC again, we missed to include it. Thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby vilian » Tue Jan 23, 2007 2:23 pm

Antonio,

I received the new update, but now it appears the following error:

FiveCE.lib(TFTPFILE.obj) : error LNK2001: unresolved external symbol HB_FUN_INTERNETSETFILEPOINTER
FiveCE.lib(TFTPFILE.obj) : error LNK2001: unresolved external symbol HB_FUN_INTERNETREADFILE
FiveCE.lib(TFTPFILE.obj) : error LNK2001: unresolved external symbol HB_FUN_INTERNETWRITEFILE
FiveCE.lib(TFTPFILE.obj) : error LNK2001: unresolved external symbol HB_FUN_FTPOPENFILE
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Richard Chidiak » Tue Jan 23, 2007 3:10 pm

Vilan

Make sure you are linking wininet.lib

echo $(VCDIR)\lib\arm\wininet.lib >> msvc.tmp

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby vilian » Tue Jan 23, 2007 4:55 pm

Hi Richard,

yes, I am including wininet.lib in the generation of my application.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Tue Jan 23, 2007 5:16 pm

Vilian,

Please link inet.lib too
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby vilian » Tue Jan 23, 2007 6:25 pm

Antonio,

where I find inet.lib?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Tue Jan 23, 2007 7:20 pm

Vilian,

My mistake, inet.lib is not needed. You have to link wininet.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby vilian » Tue Jan 23, 2007 7:28 pm

Antonio,

I am including wininet.lib(04/06/2003) in the generation of my application :cry:
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Richard Chidiak » Tue Jan 23, 2007 8:12 pm

Vilian

This are the libs i am linking and i use tftp with success

echo $(VCDIR)\lib\arm\coredll.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\corelibc.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\aygshell.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\ws2.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\mfcce400.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\ole32.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\ceshell.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\commctrl.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\wininet.lib >> msvc.tmp
echo $(VCDIR)\lib\arm\cellcore.lib >> msvc.tmp

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby vilian » Tue Jan 23, 2007 8:29 pm

Hi Richards,

I am using same libs that you. The error appears when use class tFtpFile in the function below:

STATIC FUNCTION MandaArq(cArquivo,cRemote,nTam)
LOCAL n,hSource,cBuffer:=Space( 6400 ),nBufSize:=6400,oFile

IF (hSource := FOpen( cArquivo )) < 0
RETURN .F.
ELSE
cBuffer := Space( 6400 )
nBufSize := 6400
SysRefresh()

oFile := TFtpFile():New( cRemote, oFTP )
IF Empty(oFile)
RETURN .F.
ELSE
oFile:OpenWrite()
FSeek( hSource, 0, 0 )

nTotal := 0
DO WHILE ( nBytes := FRead( hSource, @cBuffer, nBufSize ) ) > 0
nFeito := oFile:Write( SubStr( cBuffer, 1, nBytes ) )
SysRefresh()
nTotal += nBytes
ENDDO
oFile:End()
FClose( hSource )
ENDIF
ENDIF

RETURN .T.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

PreviousNext

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 3 guests