Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ftp
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Re: Ftp
Miscellaneous
Thread ID:
00585731
Message ID:
00591507
Views:
31
>>:~)
>>
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform