Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ftp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Re: Ftp
Divers
Thread ID:
00585731
Message ID:
00591507
Vues:
32
>>:~)
>>
>>My FTP works fine as in the following
>>
>>
>>
>>IF nERRCNT > 0
>>   WAIT WINDOW "ACKNOWLEDGE: AN ERROR OCCURED WRITING TO SPROVIDER.TXT!"
>>ELSE                   			&& No Errors
>>   IF !EMPTY(cSPECIALFTP)
>>      ! FTP -s:&cSPECIALFTP
>>   ELSE
>>      IF lPROD
>>         ! FTP -s:bbb     			&& Script created for prod directory
>>      ELSE
>>         IF UPPER(TESTorPROD)= "TEST" .OR. UPPER(TESTorPROD)= "FTPT"
>>            ! FTP -s:bbT  			&& Script created for test directory
>>         ENDIF
>>      ENDIF
>>   ENDIF
>>ENDIF
>>
>**************
>Do you have a good reference (website/paper/etc) for writing the script?
I use a program to create text entries, but you could use a batch program like:

Echo open 123.456.102.321>bbb
Echo LOGNAME>>bbb
Echo PASSWRD>>bbb
Echo prompt>>bbb
Echo ebcdic>>bbb
Echo quote site lrecl=50 recfm=fb lksize=5050>>bbb
Echo put f:\directoryname\arkmon\data\sprovider.txt 'emc.esbbs.submit.dat.prod(+1)'>>bbb
Echo bye>>bbb
FTP -s:bbb
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform