11-22-2001
figured it out. Checked out a couple of sites and the following adjustment now allows my script to work:
ftp -vin ipaddress <<!
user username password
ascii
cd db_backup
lcd /home/backup
put bkup*.sql
bye
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Firstly, I would like to admit that I am a scripting newb. :)
Now, to my question:
I am writing a script that FTPs a bunch of logs from one server to another, it will be scheduled in Cron to run every 20 minutes.
Currently, the file transfer part of the script is fine. However,... (2 Replies)
Discussion started by: reebz
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
LEARN ABOUT SUSE
gtk2::adjustment
Gtk2::Adjustment(3) User Contributed Perl Documentation Gtk2::Adjustment(3)
NAME
Gtk2::Adjustment
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Adjustment
METHODS
object = Gtk2::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size)
o $value (double)
o $lower (double)
o $upper (double)
o $step_increment (double)
o $page_increment (double)
o $page_size (double)
$adjustment->changed
$adjustment->clamp_page ($lower, $upper)
o $lower (double)
o $upper (double)
double = $adjustment->value
double = $adjustment->value ($newval)
double = $adjustment->lower
double = $adjustment->lower ($newval)
double = $adjustment->upper
double = $adjustment->upper ($newval)
double = $adjustment->step_increment
double = $adjustment->step_increment ($newval)
double = $adjustment->page_increment
double = $adjustment->page_increment ($newval)
double = $adjustment->page_size
double = $adjustment->page_size ($newval)
o $newval (double)
Get or set the six fields of a Gtk2::Adjustment.
The setter functions store $newval and return the old value. Note that they don't emit any signals; it's up to you to emit "notify"
(because the fields are also properties) and "changed" or "value-changed", when you're ready.
$adjustment->value_changed
double = $adjustment->get_value
$adjustment->set_value ($value)
o $value (double)
PROPERTIES
'lower' (double : readable / writable / private)
The minimum value of the adjustment
'page-increment' (double : readable / writable / private)
The page increment of the adjustment
'page-size' (double : readable / writable / private)
The page size of the adjustment
'step-increment' (double : readable / writable / private)
The step increment of the adjustment
'upper' (double : readable / writable / private)
The maximum value of the adjustment
'value' (double : readable / writable / private)
The value of the adjustment
SIGNALS
changed (Gtk2::Adjustment)
value-changed (Gtk2::Adjustment)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Adjustment(3)