11-25-2005
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I'm writing an ftp script that is trying to connect to a remote NT box. Here is my script:
ftp -i ipaddress
user username password
ascii
cd db_Backup
lcd /home/dB_backups
put *.sql
bye
When I run this script I get the following error:
500 'AUTH GSSAPI': command not... (2 Replies)
Discussion started by: vancouver_joe
2 Replies
2. Shell Programming and Scripting
Hello...
I have script that works perfect on solaris but on Reliant UNIX sometimes it does not work ...I send files to my Xp(from Reliant UNIX) but if I try to send it to my solaris machine file can not be send...
script is:
#!/bin/ksh
localFile=$1
remoteFile=$2
... (0 Replies)
Discussion started by: amon
0 Replies
3. Shell Programming and Scripting
We have a script where we're trying to ftp to an outside ftp server, but it keeps failing with the error:
421 Service not available, remote server has closed connection
if we ftp <server> and manually enter the username and password from the Unix box it's just fine.
But when we try to... (1 Reply)
Discussion started by: lawadm1
1 Replies
4. Shell Programming and Scripting
Hello All,
I have a problem that has me stumped. I am using perl to do some ftp'ing of files. I have the script in place on another environment that is functioning flawlessly. But after tweaking it to the new environment I can't get it to function. I have a search string that searches for... (6 Replies)
Discussion started by: scottzx7rr
6 Replies
5. Shell Programming and Scripting
Hello folks,
I am facing a problem with the following korn shell script snippet:
ftp -n -i -v <<EOF
print -p open $CURR_HOST
print -p user $USER $PASSWD
print -p binary
print -p cd /mydir/subdir/datadir
print -p get $FILENAME
print -p bye
EOF
exit
It gives me the following... (3 Replies)
Discussion started by: Rajat
3 Replies
6. Solaris
Hi Everybody,
I am working on FTP Script (i,e Parser.sh,Upload.sh) and the contents of the same are mentioned below ..,
#!/bin/bash
if ; then
echo "Usage
./Parser.sh IP USERNAME PASSWORD SOURCE FILENAME DESTINATION
where
IP ------------- IP address of remote... (0 Replies)
Discussion started by: prasanth_babu
0 Replies
7. Shell Programming and Scripting
Hi,
I have a ftp script which first gets all the file names and echo's the latest file.
I'm using another ftp command sets to get the file name given by first ftp. The problem is the parameter is not accepted by second ftp. The error message i'm getting is
> Rename Temp File calloc:ICMP... (5 Replies)
Discussion started by: ammu
5 Replies
8. Shell Programming and Scripting
Hi all,
I'm using the following script to automated ftp files to 1 ftp servers
host=192.168.0.1
/usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp
open $host
bin
cd ${directory}
put $files
quit
ftp
and the .netrc file contain
machine 192.168.0.1
login abc... (4 Replies)
Discussion started by: varu0612
4 Replies
9. Shell Programming and Scripting
Hi All,
I have developed below script for FTP a file from unix machine to another machine.
ftpToABC ()
{
USER='xyz'
PASSWD='abc'
echo "open xx.yy.zbx.aaa
user $USER $PASSWD
binary
echo "put $1 abc.txt" >> /home/tmp/ftp.$$
echo "quit" >> /home/tmp/ftp.$$
ftp -ivn <... (3 Replies)
Discussion started by: RSC1985
3 Replies
10. Shell Programming and Scripting
Hi all,
I am having problem while using FTP in shell script.I am downloading a file from other machine.Part of file name is known to me(in red)
20100114123814.portin.virginsubs.extract
What i am doing is trying to get the file using get command with wild card "*" (see below) but it fails... (1 Reply)
Discussion started by: vinoo128
1 Replies
CRON(8) System Manager's Manual CRON(8)
NAME
cron - daemon to execute scheduled commands (Vixie Cron)
SYNOPSIS
cron
DESCRIPTION
Cron should be started from /etc/rc or /etc/rc.local. It will return immediately, so you don't need to start it with '&'.
Cron searches /var/spool/cron for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. Cron
also searches for /etc/crontab and the files in the /etc/cron.d/ directory, which are in a different format (see crontab(5)). Cron then
wakes up every minute, examining all stored crontabs, checking each command to see if it should be run in the current minute. When execut-
ing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if
such exists).
Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has,
cron will then examine the modtime on all crontabs and reload those which have changed. Thus cron need not be restarted whenever a crontab
file is modified. Note that the Crontab(1) command updates the modtime of the spool directory whenever it changes a crontab.
SEE ALSO
crontab(1), crontab(5)
AUTHOR
Paul Vixie <paul@vix.com>
4th Berkeley Distribution 20 December 1993 CRON(8)