FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TIP library
Posts: 298
Joined: Fri Oct 07, 2005 05:20 AM
TIP library
Posted: Fri Oct 06, 2006 04:06 AM
Hi all :

I'm using TIP library to update somes file into my FTP

This code gives me a beautiful GPF
FUNCTION Test()
LOCAL oFtp
LOCAL lTrace := .T.

oCred:= tIPCredentials()
cServer   := "vikthor.com.mx"
cUser     := "MyUser"
cPassword := "MyPassword"
?cUrl      := "ftp://" + cUser + ":" + cPassword + "@" + cServer

oUrl := tURL():New( cUrl )    <<< ------ ERROR :)

?oUrl:cUserId
?oUrl:cPassword
?oUrl:cServer
?oUrl:nPort
RETURN


any suggest ?
Vikthor

Continue the discussion