Information générale
Catégorie:
West Wind Web Connection
Titre:
Proper syntax for ftp to tandem using WWW Connection
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement