TIP library

TIP library

Postby Vikthor » Fri Oct 06, 2006 4:06 am

Hi all :

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

This code gives me a beautiful GPF
Code: Select all  Expand view
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
User avatar
Vikthor
 
Posts: 271
Joined: Fri Oct 07, 2005 5:20 am
Location: México

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 91 guests