07-07-2008
try type bin before you use the get command.
It might be that the file gets downloaded as a textfile and not a binary file
/peter
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I use FTP in a shell script to transfer the files to a remote server.
Sometimes the program hangs without returning any errors
after the command
ftp server_name
How do you detect from within the shell that something is wrong?
How do you trap the errors returned by ftp command?
Any help... (3 Replies)
Discussion started by: marusia
3 Replies
2. UNIX for Dummies Questions & Answers
can someone tell me how I can deal with a problem am having concerning users that are faliing to use one of the shells specified in the /etc/shells file.
as a result, am told, these users are bound fail to connect via FTP. i know i goto check the /etc/shells file on the target host but what... (5 Replies)
Discussion started by: TRUEST
5 Replies
3. Shell Programming and Scripting
hi i have written a shell to automate the ftp process for the particular file.iam getting errors when try to ftp it.And i am cant get why the lcd is not being taken properly as it is taking during runtime.can anyone give me a solution
here its my code
DATE=`date '+%d_%m_%Y'`... (1 Reply)
Discussion started by: cskumar
1 Replies
4. Solaris
Hi Guys,
Got problem when I tried to get files from Solaris server to my PC. The connection transfer was using FTP and the connection was made from the solaris server to my PC. Here's what happened when the file transfer being made:
# ftp 10.192.23.230
Connected to 10.192.23.230.
220... (9 Replies)
Discussion started by: raskita
9 Replies
5. HP-UX
We recently moved offices and checked our network ID. I have configured all the files that I am familiar with and am able to telnet and ping from my pc but I am unable to ftp. Any suggestions...Thanks (5 Replies)
Discussion started by: andrewd
5 Replies
6. Shell Programming and Scripting
i have got 2 servers in unix(IBM AIX 5.3) namely below.
test1
production1
i m trying to do ftp from test1 to production1.
------------------------------------------------------------
below the script called naveed1.sh which lies in test1,also it have two files called
... (2 Replies)
Discussion started by: ali560045
2 Replies
7. Shell Programming and Scripting
i m able to login to Unix box from window's cmd
can anyone tell me how to run a script from window cmd using ftp ?
the script is in unix box and i need to run from windows CMD using ftp (2 Replies)
Discussion started by: ali560045
2 Replies
8. Shell Programming and Scripting
Hello experts,
I've got the following script that is supposed to FTP a file to another box.
#!/usr/bin/ksh
while read line
do
HOST=`echo "$line" | cut -d" " -f1`
USER=`echo "$line" | cut -d" " -f2`
PASSWD=`echo "$line" | cut -d" " -f3`
PATH=`echo "$line" | cut -d" " -f4`
done <... (5 Replies)
Discussion started by: King Nothing
5 Replies
9. Shell Programming and Scripting
Hello,
I have a very simple script that put a file in server ftp
#!/bin/bash
var="ITW-trail-templiers-samedi"
cd /Users/$USER/Desktop
ftp -n >&1 << EOF
open server
quote user "user"
cd oberon
binary
put "$var"
bye
EOF
I have error :
200 Type set to IMAGE.
remote:... (2 Replies)
Discussion started by: protocomm
2 Replies
10. Red Hat
Dear All
I cannot ftp to my RedHat server from MS Windows machine ,but ping and telnet are ok. I checked as the following :
#chkconfig tftp on
#setup
After enabling tftp service, still the ftp is not ok but ping & telnet are ok. Can you please help me?
Thank you (8 Replies)
Discussion started by: hadimotamedi
8 Replies
LEARN ABOUT DEBIAN
sge_usermapping
USERMAPPING(5) File Formats Manual USERMAPPING(5)
NAME
usermapping - user mapping entry file format
DESCRIPTION
A usermapping entry is used to define alias names for a cluster user. The user's name known by the scheduling system is known as the clus-
ter user. If the cluster user doesn't match the user account name on an execution host, the usermapping feature can solve the problem.
Each line in the usermapping entry file specifies a user name and the host(s) where he has an account.
A list of currently configured user mapping entries can be displayed via the qconf(1) -sumapl option. The contents of each enlisted user
mapping entry can be shown via the -sumap switch. The output follows the usermapping format description. New user entries can be created
and existing can be modified via the -aumap, -mumap and -dumap options to qconf(1).
FORMAT
A user mapping entry contains two parameters:
cluster_user
The cluster_user keyword defines the cluster user name. The rest of the textline after the keyword "cluster_user" will be taken as cluster
user value.
remote_user
The user name on an execution host. Please note that the value for this attribute might be overwritten for a certain hostgroups or single
host. Find an example below.
EXAMPLE
This is a typical user mapping entry for a cluster user mapping:
cluster_user peter
remote_user peter,[@linux=pet1],[fangorn=peter1]
The entry will map the user peter which is defined in the cluster system to the user peter on all hosts in the cluster except for all hosts
which are referenced in the hostgroup @linux. For all these hosts the user will be mapped to pet1. For the host fangorn the remote user
will be peter1. hostgroup(5) to obtain for more information about that.
SEE ALSO
qconf(1), hostgroup(5).
COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions.
$Date$ USERMAPPING(5)