... l_cUrl = '172.30.88.63' ... l_oFtp = CREATEOBJECT("wwFTP") l_oFtp.nHTTPPort = 1700 ...>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
> 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)