Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to FTP to a Tandem using WWW Connection
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
How to FTP to a Tandem using WWW Connection
Divers
Thread ID:
00767890
Message ID:
00767890
Vues:
47
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform