02-03-2012
running a script in a ftp session
Hi guys,
I am using a script that run ftp and transfer file from my source server to the destination server.
Since i have transferred my files to the destination server, now i want to run a script at the destination server.
Could you please help me regarding how to run a script in a ftp session.??
What commands should we use.
Thanks in advance..!!!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
2. Shell Programming and Scripting
I'm trying to figure out how I can run a script "myScript.sh" in such a way that if my remote network connection gets disconnected, the script doesn't stop functioning.
Right now I log in, run "./myScript.sh" and watch my output get pumped to a log file for about 10 hours. Only problem is that... (3 Replies)
Discussion started by: jjinno
3 Replies
3. Shell Programming and Scripting
Hello all,
I have written a shell script which would prompt the user to enter some name and a folder would be created by that name.
This script should run automatically when the users provide there credentials during a FTP session and for every FTP session.
And after they have provided there... (5 Replies)
Discussion started by: h3llh0l3
5 Replies
4. Shell Programming and Scripting
Dear Friends,
I have this script CAP2_Launcher on suntest server. this script needs two input files in order to process them and produces an output files.
I've created .bat file from windows to access the server and transfer the input files needed by the script and execute the script then pull... (3 Replies)
Discussion started by: sfaqih
3 Replies
5. UNIX for Dummies Questions & Answers
In FTP session, how could know the present working directory in local machine? pwd command gives the present working directory for remote machine only. (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. Shell Programming and Scripting
Hi
I have an FTP script, which ftp's the files from one unix box to another box.
It works from the command when I Issue > ksh ftp.ksh
when I schedule it in CRON, it is not being executed automatically.
Any thoughts please
Thanks
Ravi. (4 Replies)
Discussion started by: ravi.balley
4 Replies
7. Shell Programming and Scripting
Hi,
I want to write a script that can connect from server A to server B .. so i need the following
1. sftp to server B
2. pull some files out from server B using an existing script in server A
Can I do that?
Thanks (3 Replies)
Discussion started by: arex876
3 Replies
8. Shell Programming and Scripting
HI ,
I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (4 Replies)
Discussion started by: nks342
4 Replies
9. Shell Programming and Scripting
Hello.
This is my situation.
script .anything
ls -l .
---How can I see the content of .anything using (i.e) cat .anything?
If not possible can someone suggest a sequence to simulate a console-recorder
to "observ" from a RUNNING script session?
Thanks
Paolo
Please use code tags... (3 Replies)
Discussion started by: paolfili
3 Replies
10. Shell Programming and Scripting
Hi there,
I'm trying to run a script remotely on a server in a particular directory named after hostname which already exists, my login session gets killed as soon as I run the below command. Not sure what is wrong, is there a better way to do it ?
Note: I can also use nohup command to run... (14 Replies)
Discussion started by: mbak
14 Replies
LEARN ABOUT DEBIAN
gems-server
GEMS-SERVER(1) gems documentation GEMS-SERVER(1)
NAME
gems-server - Transmit a shell session in real time.
SYNOPSIS
gems-server [-ip ip] [-port p] [-maxconn n] [-wait m] [-log dest] [-noscript] [-script_bin script]
gems-server -h | -v
DESCRIPTION
Transmits a shell session to be shown in real time in various different computers or terminals.
gems-server transmits data in real time to clients via a network connection. Each one of these clients must run the gems-client(1) program
to establish connection and receive the transmitted data. Clients can connect and disconnect at any given time, but of course they will
only receive the data that is transmitted while they are connected (just like a radio transmission/reception system).
The gems system is normally used to transmit a console session and show it in various computers at the same time, but it is also possible
to transmit any other kind of data.
OPTIONS
-ip IP address where connections will be accepted.
-port TCP port. Default: 6666.
-maxconn
Do not accept more than n simultaneous clients. Default: 25.
-wait Wait until m clients are connected before starting the transmission. This is useful to ensure that the first m clients will receive
all data transmitted. The default behavior is to start transmission immediately, without waiting for client connections.
-log By default, the server does not write log messages. This option configures the destination of logs. The dest argument can be `sys-
log' (to log through syslogd(8)), `stderr' (to log through standard error output), or it can be an arbitrary filename (log messages
will be appended to the file, if it exists).
-noscript
By default, the server executes the script(1) program to take terminal data and transmit it. When this option is used the server
will not run script, and data will be read form standard input.
-script_bin
Specifies the location of the script(1). program. Default: /usr/bin/script.
-h Show a short help message.
-v Show version information.
FILES
/var/lock/gems-server.PORT
Lock file. gems-server creates this file on initialization and deletes it on exit. PORT is replaced by the TCP port used. gems-
server will not run if this file is already present in the system.
AUTHORS
Diego Essaya <dessaya@fi.uba.ar>
Emiliano Castagnari <ecastag@fi.uba.ar>
SEE ALSO
gems-client(1), script(1), syslogd(8)
gems AUGUST 2004 GEMS-SERVER(1)