Please find the below script:
#!/bin/ksh
host='gskprod.xyz.com'
USER='gsk'
PASSWORD='ahdpw1'
remote_dir='gsk_ds'
ftp -n "${host}"
user $USER $PASSWORD
binary
cd $remote_dir
mget *.txt
mdelete *.txt
bye
It does not recognizes userid and password. It executes... (4 Replies)
Hello All,
Can anyone let me know how to capure errors in shell scripting?
n even the error considerations?
Like --
- File not found
what other errors can occure in that n how those could be captured?
Im_new (6 Replies)
Hi all,
I am trying to run a FTP script which would go to diff servers in the environment and get the request logs and I am getting the following error, Please let me know.
server1.ou.st.com
(to) usage: open host-name
Not connected.
Local directory now /home/pk960/logs
Not connected.... (0 Replies)
I have a file like this 07200900.SUP,in a windows directory I need to FTP this file to UNIX , the directory in unix is N:\orgs\Financial Aid\MIIS\0910\FTP
I am getting this error
miis_ftp.ELM_SUP.shl: =cd orgs/"Financial Aid"/"MIIS"/"0910"/"FTP" : not found
IN THE LOG FILE
Activities for Mon... (3 Replies)
This question has been answered many times. I tried to use some examples. Here is the error and cannot find the reason. Please help!
messages :
40
step1
step2
arcfile1.sh: line 55: syntax error: unexpected end of file :(
here is the script:
#!/bin/bash
DATE=`date +%Y%m%d`... (21 Replies)
Hi All,
I have a script which is supposed to connect to Windows machine and FTP a file into LINUX.
Script is like below
#!/usr/bin/sh
ParamterFle=${1}
//grepping all parameters
BossFtpLog=${2}
// assigning log file
ftp -i -n host_name << EOF
user1
password1
cd /drive1/drive2
get... (6 Replies)
Hello kind programmers :)
I am a newbie and running into an error "line 28: syntax error: unexpected end of file" on the script shown below. Any help would be greatly appreciated. Thanks!
#! /bin/bash
if ($#argv <3) then
echo 'Usage get_modis_snow '
echo 'ftp script for MYD10A2... (2 Replies)
Hi,
I'm trying to create a ftp script so I can make an ftp connection and start upload and download files from/to remote servers.
In this case I want to start a connection (crontab) and transfer files from localserver1 to remoteserver; remoteserver to localserver1; finally from localserver1... (3 Replies)
Hi All,
Please hav a look at the below peice of script and let me know if there are any syntax errors.
i found that the below peice of Script is causing issue. when i use SFTP its working fine, but there is a demand to use FTP only. please find below code and explain if anything is wrong... (1 Reply)
Hi,
I have ftp script like below
How to insert an error handling, If the transfer failed then send mail to me.
Actually, I just need the script to send an email if the FTP failed. How to put the email script within FTP script?
Thank You
Edy (5 Replies)
Discussion started by: edydsuranta
5 Replies
LEARN ABOUT DEBIAN
xeno-config
XENO-CONFIG(1) Xenomai XENO-CONFIG(1)NAME
xeno-config - Display Xenomai libraries configuration
SYNOPSIS
xeno-config
xeno-config --v | --verbose
xeno-config --help
xeno-config [--version] [--cc] [--arch] [--prefix] [--xeno-cflags] [--xeno-ldflags] [--posix-cflags] [--posix-ldflags]
[--lib*-dir|--library-dir|--libdir|--user-libdir]
DESCRIPTION
xeno-config is a script that is used to to display the compiler and linker flags that are required for building applications that use Xeno-
mai. Any combination of options can be chosen (except --verbose and --help) to display configuration information, and options can be given
in any order. The command output one line for each option, in the same order as the options.
When xeno-config --verbose is executed, all configuration information is displayed in a different, more human-readable format.
When xeno-config is executed without any options, the output is equivalent to than when executing xeno-config --verbose then xeno-config
--help.
OPTIONS --v, --verbose
Outputs all configuration information, in a human-readable format.
--help Outputs the list of available command-line options.
--version
Outputs one line with the installed Xenomai version.
--cc Outputs one line with the path to the C compiler command that was used to compiled Xenomai.
--arch Outputs one line with the architecture to compile to, e.g. i386. May be different from the architecture of the currently running
system, if cross-compiling.
--prefix
Outputs one line with the absolute path to the base Xenomai installation directory.
--xeno-cflags
Outputs one line with the C compiler command-line options that are necessary to compile applications that use the Xenomai libraries.
--xeno-ldflags
Outputs one line with the C compiler command-line options that are necessary to link applications against the Xenomai libraries.
--posix-cflags
Outputs one line with the C compiler command-line options that are necessary to compile applications that use Xenomai's Posix-com-
patible layer library.
--posix-ldflags
Outputs one line with the C compiler command-line options that are necessary to link applications against Xenomai's Posix-compatible
layer library.
--lib*-dir, --library-dir, --libdir, --user-libdir
Outputs one line with the absolute path to Xenomai's libraries. In the --lib*-dir option name, the * is meant as a wildcard:
--lib-dir, --libfoo-dir and --libbar-dir are all valid and synonymous options.
ENVIRONMENT VARIABLES
DESTDIR
If the DESTDIR variable is set, its content is prepended to the Xenomai installed directories and files names output by the --prefix
and --library-dir options, and to the Xenomai installation directories in the flags output by the --xeno-cflags, --xeno-ldflags,
--posix-cflags, --posix-ldflags options.
If DESTDIR was set when compiling and installing Xenomai, e.g. for cross-compilation, DESTDIR must be set to the same value before
calling xeno-config, in order to output valid directory and file names.
RETURN CODES
0 Successful script execution.
1 The --posix-ldflags option has been given but Posix support is not available in Xenomai; or an invalid argument has been given on
the command-line.
2.6.0 2006-03-27 XENO-CONFIG(1)