07-25-2007
I have tried this again. the "user" ftp can sign on and gets to the /home/ftp directory, but cannot put to it.
here is the session:
Quote:
331 Guest login ok, send your complete e-mail address as passwor
Password:
230 Guest login ok, access restrictions apply.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
.cshrc
.exrc
.login
.profile
you_are_in_home_ftp.txt
226 Transfer complete.
ftp: 58 bytes received in 0.00Seconds 58000.00Kbytes/sec.
ftp> put unq-a9.txt
200 PORT command successful.
553 unq-A9.txt: Permission denied on server. (Upload)
ftp>
Here is the directory permissions:
Quote:
drwxrwxrwx 2 ftp users 8192 Jul 25 11:36 ftp
I'm stuck. Any ideas?
Lisa
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I am ftp'ing from HP-UX 11.0 to an AS400 server. If I do an 'nlist' command on the remote AS400, a listing of files is produced to the screen as you would expect. I then try to bring a listing to the local HP-UX server using 'nlist . localfile.txt'. I get the following response:
ftp>... (2 Replies)
Discussion started by: Bab00shka
2 Replies
2. Linux
Hey,
I've got a RH9 box running telnet-server 0.17-25. Now i don't know what the problem is and i've been reading all night trying to find somthing like it. I am able to open a telnet session on the box using localhost and 10.10.10.6(machines address) but if i try to do it from another... (7 Replies)
Discussion started by: byblyk
7 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. Linux
I'm trying to help convert my boss over to Linux. He has an HP/Compaq PC on which he installed Fedora Core 4 on. It's got a Linksys wireless card in it and we're using the NDIS wrapper to load the Windows driver for the chipset on that card. 'iwconfig' sees the card. We can configure the card. ... (1 Reply)
Discussion started by: deckard
1 Replies
5. 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
6. Shell Programming and Scripting
hi,
I have two linux systems -server1, server2. From server1 to server2, I'm able transfer data using ftp, but server2 to server1 I'm unable to do the same.in this situation I'm getting an error message: port 543 error: connection refused.
Even Talk command also working in server2 but not in... (2 Replies)
Discussion started by: csr
2 Replies
7. Shell Programming and Scripting
hi there
here is my problem
i have a shell that copy files from unix to a shared linux samba (with rcp)
i will change my linux machine with a windows one and saw rcp didnt work anymore ...
so i tried ftp and saw it worked with these following commands
ftp -niv <<fin
open 192.9.200.105
user... (3 Replies)
Discussion started by: bzh35
3 Replies
8. Shell Programming and Scripting
Hi,
I wrote a small program to read lines from a file and count the lines. The program is as below:
filename=$1
count=0
cat $filename | while read -r line
do
printf "%5d:%s\n" $count "$line"
count=$((count + 1))
done
echo " $count "
After I run the program, the result is... (4 Replies)
Discussion started by: jianma
4 Replies
9. Shell Programming and Scripting
Hello,
I'm a UNIX SysAdmin at a large webhosting company and we have a vendor that provides a service which involves the ftp'ing of files from their servers to ours. They initiate FTP using a perl script with NET::FTP.
When they try to transfer files (and delete files over ftp), there is... (3 Replies)
Discussion started by: tmmgeekette
3 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 CENTOS
ftpconfig
ftpconfig(1M) System Administration Commands ftpconfig(1M)
NAME
ftpconfig - set up anonymous FTP
SYNOPSIS
ftpconfig [ftpdir]
ftpconfig -d ftpdir
DESCRIPTION
The ftpconfig script is executed by the super user to set up anonymous FTP. Anonymous FTP allows users to remotely log on to the FTP server
by specifying the user name ftp or anonymous and the user's email address as password. The anonymous users are logged on to the FTP
Server and given access to a restricted file area with its own file system root. See chroot(2). The FTP area has its own minimal system
files.
This command will copy and set up all the components needed to operate an anonymous FTP server, including creating the ftp user account,
creating device nodes, copying /usr/lib files, and copying timezone data. The passwd and group files set up have been stripped down to
prevent malicious users from finding login names on the server. The anonymous file area will be placed under ftpdir. If the ftp user
account already exists, then the current FTP area is used, and the system files in it are updated. All other files are left untouched. This
command should be run to update the anonymous FTP area's configuration whenever a system patch is installed, or the system is upgraded.
OPTIONS
-d Create a new or update an existing ftpdir without creating or updating the ftp user account. Use this option when creating guest
FTP user accounts.
OPERANDS
The following operands are supported:
ftpdir The absolute pathname of the directory under which the anonymous FTP area is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5)
SunOS 5.10 1 May 2003 ftpconfig(1M)