LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2002, 10:02 PM   #1
hyperpimp
LQ Newbie
 
Registered: Apr 2002
Location: a very hot place
Distribution: slack 8.0 with no X :( & mandrake 8.2
Posts: 27

Rep: Reputation: 15
Post script help?


hi, i need some help with a script, it'll be a daily cron job for my server, so i know it needs to go into /etc/cron.daily (red hat server).
what it needs to do is ftp into another server, cd into a directory, get a file, rename the file, and copy it to my websites html directory.
i've done a little scripting, but i'm just unsure about the ftp part,
do ftp commands work in a script?
if so, how would authentication take place?


any help would be greatly appreciated
 
Old 05-29-2002, 11:08 PM   #2
hyperpimp
LQ Newbie
 
Registered: Apr 2002
Location: a very hot place
Distribution: slack 8.0 with no X :( & mandrake 8.2
Posts: 27

Original Poster
Rep: Reputation: 15
for anyone interetsed, i found this http://www.linuxgazette.com/issue34/izquierdo.html and it works flawlessly.
 
Old 05-30-2002, 11:10 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
btw

u can't make interactive ftp script (one could but it far too complicated for start upers)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 05:19 AM
Directory listing - Calling shell script from a CGI script seran Programming 6 08-12-2005 12:08 AM
creating shell script that executes as root regardless of who runs the script? m3kgt Linux - General 13 06-04-2004 11:23 PM
send automatic input to a script called by another script in bash programming jorgecab Programming 2 04-01-2004 01:20 AM
linux 9 and java script error - premature end of script header sibil Linux - Newbie 0 01-06-2004 05:21 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration