Hurmoth Posted August 12, 2009 Share Posted August 12, 2009 I need to script an ftp session that will happen on a daily basis. I have a program that runs on a server every morning at 1AM that collects data from Oracle and puts it into a CSV file. Now I want it to be moved automatically to a Windows server. AIX = rkeOrcl1 Windows = rkeFTP1 The file will be dynamically named: blahblah-m/d/yy.csv. The AIX box, of course, uses KornShell. Any help is greatly appreciated :D Link to comment Share on other sites More sharing options...
Antaris Veteran Posted August 12, 2009 Veteran Share Posted August 12, 2009 ftp -niv {ftpServer}<<EOF user {username} pass {password} binary put $file EOF I'm not sure if that really helps, I haven't done Unix Shell FTP'ing before.... Link to comment Share on other sites More sharing options...
Hurmoth Posted August 12, 2009 Author Share Posted August 12, 2009 You'll have to forgive me, I have not had much experience with AIX or Unix in general for that matter. I was kind of thrown into this and am kind of spit-balling my way through it. Link to comment Share on other sites More sharing options...
Recommended Posts