LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red Hat 5.6 FTP (https://www.linuxquestions.org/questions/linux-newbie-8/red-hat-5-6-ftp-4175437083/)

yazterfari 11-14-2012 05:48 AM

Red Hat 5.6 FTP
 
Hi:

I am a complete novice to Red Hat, Linux or any other Unix based systems, so please forgive this question.

Does Red Hat 5.6 come with a native FTP program. If it does where can I find it, and how can I use it with CRON.

acid_kewpie 11-14-2012 06:59 AM

the "ftp" binary would usually be available yes. Just open a terminal and off you go. you can see what ftp realted software is available to you by running "yum search ftp" which will give a hefty list of immediately available software (some of which won't actually be relevant, but it's a good start)

use it with cron? We'd need more information about your requirements than that.

yazterfari 11-14-2012 08:58 AM

Quote:

Originally Posted by acid_kewpie (Post 4829121)
the "ftp" binary would usually be available yes. Just open a terminal and off you go. you can see what ftp realted software is available to you by running "yum search ftp" which will give a hefty list of immediately available software (some of which won't actually be relevant, but it's a good start)

use it with cron? We'd need more information about your requirements than that.

Thanks for that, much appreciated.

I want to set up CRON so once a day it will look in a specific directory on the Red Hat Box and FTP anything it finds to a directory on a windows box. I understand that CRON can be used in this way.

acid_kewpie 11-14-2012 09:41 AM

well cron can run a script at a time, but it doesn't do anything past that. You need to write that script and full test it, and once you can run it on demand, then you can just drop it into cron trivially.

chrism01 11-14-2012 07:12 PM

Quote:

I am a complete novice to Red Hat, Linux or any other Unix based systems
In that case, you'll need these links to use the cmd line and also to write the script acid_kewpie mentioned

http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

Background info in FTP may be useful; there's more than one way it works
http://slacksite.com/other/ftp.html

yazterfari 11-15-2012 02:58 AM

To all who replied to my post, I very much appreciate all the help. My apologies to the admin staff on this site if I posted in the wrong place. I will endevour to make sure I post correctly in the future.

Once again, thank you all very much


All times are GMT -5. The time now is 11:41 PM.