Below is the control card or the file which i am using in shell script to mget files from remote machine via FTP.
Below is the error log generated, now my question is though it is showing return code as 550 as below, i could able to mget files on my server. May i know the caveat here, why i am receiving files though log shows some error. Thanks for your help.
---------- Post updated at 10:35 AM ---------- Previous update was at 10:17 AM ----------
By the way i tried pinging the server on the same unix machine on which i receive files, i could not able to ping the remote server i am puzzled here again how come i receive the files when i could not able to ping the server manually instead of using control card and calling it through script to execute the FTP. Below is the output of manual pinging.
May i also know when the telnet & ping commands are used, how exactly they differ sorry for asking basic question, just want to seek more inputs for knowledge.Thank you.
Hi all,
I have a simple script that runs each night and transfers a number of files to a remote server. Before files are transferred existing files on the remote box are deleted. All works OK except the deletion part on the remote box returning no such file or directory. As work around Ihave... (2 Replies)
I am really new to unix and want to setup an ftp server on my PC
I am running a Ultra 5 with solaris 9 on it.
I cannot seem to find *any* documentation on how to do this. So I was hoping somebody could point me in the right direction.
:confused: (3 Replies)
Hi,
I'm attempting to FTP several files using MGET. My problem is that I need to cd to a directory with this naming convention:
YYMMDDHHMM - where the hour and minute is unknown
When I issue cd /ftpdirectory/YYMMDD* from FTP, I receive "No such file or directory
I need a way to get the... (6 Replies)
Is ther a way to change the drive letter on the target (remote) system from inside the FTP program?
I am playing with an FTP script between two internal systems at my company. My problem is I land on the wrong drive when connecting with FTP, and I want to be able to change drives in order to be... (3 Replies)
I'm basically trying to FTP a file to a differnt node, first putting the FTP commmands into a text file and then piping the commands file into the ftp command as follows....
echo "user $USERNAME $PASSWORD" > ftp_cmds
echo "put $SQLOUT /users/$USERNAME/$SQLOUT" >> ftp_cmds
echo "quit" >>... (4 Replies)
Hi All,
I'm new to this group and this is my first post to this group.
I need to write a shell script for the requirement given below:
1. I need to connect to a ftp server with my username and password
2. I need to go to some(input) directory.
3. I will have files with same names and... (1 Reply)
Hi,
i have a simple question here--
if we dont use binary while doing a ftp of a file,any sort of problem can arise from this or it is ok.
Thanks (2 Replies)
Hi I'm here again.
This time I have a question that is not a really issue because I 've already found a workaround but I don't know if the behaviour is correct or not.
In my ksh shell I open a sftp connection to a remote machine.
this is the code:
sftp ${Csi_USER}@${Csi_HOST}<<EOF0 >>... (1 Reply)
OS: Solaris 9
Configuration /etc/syslog.conf
daemon.debug
/etc/inetd.conf
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d
Found the ftp.log only generate those entries from other servers/hosts.
Can we trace on all ftp entries either from/to the server?
... (6 Replies)
Discussion started by: KhawHL
6 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)