05-03-2012
Hi methyl,
- Both servers are working on a Linux OS.
-Type of file is a created file (run by another script) under the source server. Maybe some kind of file containing a list of lines only.
- Yes, remote and interactive shell are both present on both servers.
BR,
rymnd_12345
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to automate a process in one of two ways:
1) ftp .txt files from a unix server to a Windows 2000 server. I want to do this in a script. Can I supply the login and password to the Windows server inside the script?
2) I tried this and failed: sftp .txt files from the unix server to... (2 Replies)
Discussion started by: gbernard
2 Replies
2. Answers to Frequently Asked Questions
One of our most frequent questions is how to automate ftp transfers. There are several approaches. Since I'm writing this post, we will start with my favorite technique. :)
In Automated FTP task I present a simple example of my ksh co-process technique. And note that later in this thread I... (0 Replies)
Discussion started by: Perderabo
0 Replies
3. Shell Programming and Scripting
Good Morning,
I just would like to know what is wrong with my script. I am trying to use a for loop on my ftp command but the part that pipes the ftp information is reported in unix as error. Here's my script :
#!/bin/ksh
# other parts of the script here....
# get all ORD* files... (10 Replies)
Discussion started by: negixx
10 Replies
4. Shell Programming and Scripting
Hello,
I'm sure this is an easy one for you UNIX pros. I would like to create and and automated an FTP process. The script should do this:
1. Log into a remote system
2. change to a specified directory
3. copy local files to the remote system
4. quit ftp
5. wait until the next schedule
... (7 Replies)
Discussion started by: bbbngowc
7 Replies
5. Shell Programming and Scripting
Hi Everybody,
I have come across a problem while doing FTP using shell scripting. So I request any of you can give some idea of how to go about solving the problem but i request you not to give the solution please. Because i'm a java developer newly into Unix shell progrmming and am very enthu... (1 Reply)
Discussion started by: RSC1985
1 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to do an FTP script that will read from a list of files and send only the files in that list.
Would this work? Does anyone have anything simpler.
ftp -nv <<EOF
open server
user username password
get $(nawk -F_ -f bbb.awk Filelisting.txt)
EOF (5 Replies)
Discussion started by: bbbngowc
5 Replies
7. Shell Programming and Scripting
Hi,
I am using net::ftp for transferring files now i am trying in the same Linux server as a result ftp is very fast but if the server is other location (remote) then the file transferred will be time consuming.
So i want try putting FTP part as a background process. I am unaware how to do... (5 Replies)
Discussion started by: vanitham
5 Replies
8. Shell Programming and Scripting
Hi,
Please can you tell me the script to transfer file from server A to Server B (1 Reply)
Discussion started by: e1994264
1 Replies
9. UNIX for Dummies Questions & Answers
I dont have enough bits to post in emergency, but I have an urgent FTP issue. A client of ours wants us to pull files from his server onto our server at which point we can process it. I ask a friend what to do, but I was just give the things to do, not how to do it.
I havent written a Unix... (4 Replies)
Discussion started by: MJCreations
4 Replies
10. Shell Programming and Scripting
Hi i am facing problem in shell scripting for ftp process getting following errors
here is the script & result
vi GtpTxnlogs_ftp.sh
"GtpTxnlogs_ftp.sh" 40 lines, 921 characters
#!/usr/bin/bash
######################################################################################
#... (4 Replies)
Discussion started by: Sarmistha
4 Replies
LEARN ABOUT SUNOS
asadmin-list-virtual-servers
asadmin-list-virtual-servers(1AS) User Commands asadmin-list-virtual-servers(1AS)
NAME
asadmin-list-virtual-servers, list-virtual-servers - gets the virtual servers
SYNOPSIS
list-virtual-servers --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive=true]
Gets all the virtual server elements. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
Example 1: Using list-virtual-servers
asadmin> list-virtual-servers --user admin --password adminadmin
--host localhost --port 4848
Command list-virtual-servers executed successfully
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-virtual-server(1AS), asadmin-delete-virtual-server(1AS)
J2EE 1.4 SDK March 2004 asadmin-list-virtual-servers(1AS)