Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper syntax for ftp to tandem using WWW Connection
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Proper syntax for ftp to tandem using WWW Connection
Divers
Thread ID:
00768138
Message ID:
00768138
Vues:
48
Three things to do when using the control to go to a tandem machine.
1. Use the following syntax('\DV2.$Volume.SubVol.FileName') for getting to the Folder of the tandem machine. Use the following syntax.
l_cFolder = '\DV2.$Data.Sharon.newtest'
2. With IP & port('172.30.36.30' & 23) is involve. Past the port number as follows
l_oFtp.nHTTPPort = 23

*!* Example of Code
l_lRetVal = .F.
l_cFile = 'C:\A1Cperdue\Document\newtest.txt'
l_cUrl = '172.30.36.30'
*!* Proper format for reading to a tandem
l_cFolder = '\DV2.$Data.Sharon.newtest'
l_cUserName = 'apxyz.dev'
l_cPassword = 'DEV'



l_oFtp = CREATEOBJECT("wwFTP")

*!* Important Code for Port reading on Tandem
l_oFtp.nHTTPPort = 23

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