General information
Category:
West Wind Web Connection
Title:
How to FTP to a Tandem using WWW Connection
I am trying to FTP a file to a Tandem Machine using the West Wind Web Connection control. To get to machine I have to use the IP Address and Port(for example 172.30.88.63 1700). The 1700 is the port of the FTP sting. Also, I have to put the file on the sub directory of the machine(DV2.$Volume.Subvol.filename). I get no error message back from the machine but it does fail
' Sendfile code of the W W W Connection control
l_lRetVal = .F.
l_cFile = 'C:\A1Cperdue\Document\Sweeprsv\eftacha.txt'
l_cUrl = '172.30.88.63 1700'
l_cFolder = '/DV2.$DATA.SRC.eftacha.txt/'
l_cUserName = 'appxxx.dev'
l_cPassword = 'DEV'
IF FILE(l_cFile)
WAIT WINDOW 'Uploading file "' + JUSTFNAME(l_cFile) + ;
'" to ' + ALLTRIM(l_cUrl) + '...' NOWAIT
l_oFtp = CREATEOBJECT("wwFTP")
l_nResult = l_oFtp.FTPSendFile(l_cUrl, l_cFile, ;
l_cFolder, l_cUserName, l_cPassword)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only