Posted by Grant Foraker on September 13, 2005 at 08:37:20:
In Reply to: Program for file transfers posted by Tom Molyneaux on September 13, 2005 at 07:36:46:
A quick way is to embed TACCESS into a program and pass it a control file. The following is a Host to Remote. See the SEND option for your project.
-----------------------------------
LET SYSCOM$ = '#FAST,' + ZDIR1$
ENTER 'TACCESS'
------------------------------------
File: #FAST, FST T14/P14 2=Stp 4=Lcm 5=Xcm 6=Del 7=Ins 8=Alt
100 RECEIVE
200 HOST PATH \\SSASD00\COMET\CUSTOMER\FST\
300 REMOTE PATH B:\BAX GLOBAL\
400 BAXR5115.CSV