Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have this script but it is not working I need help, to transmit a file and rename it.
#!/bin/ksh
final_file="file name"
ftp -nvd IP_address << ENDFTP
user username password
cd <folder where you want to put the file>
bin
mput $final_file
quit
ENDFTP
the files on the following format - "CITI_xx_YYYYMMDD", where
- xx = PE, PR, VE, CH, CO
- YYYYMMDD - System date - which means you will need to rename the
file accordingly as part of the Unix transmission script

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |