06-07-2011
ftp problem?
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
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. Shell Programming and Scripting
Hi,
I have a problem when i want to get a filename from an ftp server when a space is before his name.
example: "spacetestFile"
The ftp server return an error "no asset or no permission" though the file exist ?
Why it behave in this way ? (8 Replies)
Discussion started by: protocomm
8 Replies
LEARN ABOUT MOJAVE
in.tftpd
in.tftpd(1M) in.tftpd(1M)
NAME
in.tftpd, tftpd - Internet Trivial File Transfer Protocol server
SYNOPSIS
in.tftpd [-s] [homedir]
tftpd is a server that supports the Internet Trivial File Transfer Protocol (TFTP).
Before responding to a request, the server attempts to change its current directory to homedir; the default directory is /tftpboot.
The use of tftp does not require an account or password on the remote system. Due to the lack of authentication information, in.tftpd will
allow only publicly readable files to be accessed. Files may be written only if they already exist and are publicly writable. Note that
this extends the concept of "public" to include all users on all hosts that can be reached through the network. This may not be appropriate
on all systems, and its implications should be considered before enabling this service.
in.tftpd runs with the user ID and group ID set to [GU]ID_NOBODY under the assumption that no files exist with that owner or group. How-
ever, nothing checks this assumption or enforces this restriction.
-d Debug. When specified it sets the SO_DEBUG socket option.
-s Secure. When specified, the directory change to homedir must succeed. The daemon also changes its root directory to homedir.
The in.tftpd server is IPv6-enabled. See ip6(7P).
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtftp |
+-----------------------------+-----------------------------+
svcs(1), tftp(1), inetadm(1M), inetd(1M), svcadm(1M), netconfig(4), attributes(5), smf(5), ip6(7P)
Malkin, G. and Harkin, A. RFC 2347, TFTP Option Extension. The Internet Society. May 1998
Malkin, G. and Harkin, A. RFC 2348, TFTP Blocksize Option. The Internet Society. May 1998
Malkin, G. and Harkin, A. RFC 2349, TFTP Timeout Interval and Transfer Size Options. The Internet Society. May 1998
Sollins, K.R. RFC 1350, The TFTP Protocol (Revision 2). Network Working Group. July 1992.
The tftpd server only acknowledges the transfer size option that is sent with a read request when the octet transfer mode is specified.
The in.tftpd.1m service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/tftp/udp6:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil-
ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config-
uration information for this service. The service's status can be queried using the svcs(1) command.
Unlike most smf(5) services, a manifest for the tftp service is not included in the system. To create one and enable this service, the
administrator should:
1. Edit /etc/inet/inetd.conf and uncomment the tftp entry.
2. Run /usr/sbin/inetconv.
After you run inetconv, the svc:/network/tftp/udp6:default service is created and enabled.
8 Mar 2005 in.tftpd(1M)