>>:~)
>>
>>My FTP works fine as in the following
>>
>>
>>
>>IF nERRCNT > 0
>> WAIT WINDOW "ACKNOWLEDGE: AN ERROR OCCURED WRITING TO SPROVIDER.TXT!"
>>ELSE
>> IF !EMPTY(cSPECIALFTP)
>> ! FTP -s:&cSPECIALFTP
>> ELSE
>> IF lPROD
>> ! FTP -s:bbb
>> ELSE
>> IF UPPER(TESTorPROD)= "TEST" .OR. UPPER(TESTorPROD)= "FTPT"
>> ! FTP -s:bbT
>> 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.