But is it possible that those files that were not sent through FTP will go on a specified directory (eg. UNPROCESSED directory)? If so, would it be possible to add it in my FTP script above?
Also, i decided in putting a log file on the FTP but apparently it displays all the FTP details during the transmission. Is it possible to only save those lines that corresponds with FTP failure? Or only save a specific word in the file (eg. subcommand received).
EDIT:
Since I can add a "grep" command inside my FTP script, I can minimize the information down to my desired word or phrase. However, I still don't know the exact message when network connection went down during FTP.
Is there anyone who could share it with me?
Thanks.
Last edited by vibora; 07-23-2010 at 02:39 AM..
Reason: additional info.
I have got a unix server ( AIX ) and 20 clients ( windows 2000 ) . I have to transfer a file through FTP from the server to each of 20 clients daily to check the network speed.
But each time I do ftp, I have to enter username and password and then transfer the file using "put <filename>". I... (2 Replies)
Hi,
the default ftp that comes with AIX5L is not secured as far as i know.
How to install and use the secured FTP in AIX?
Linux these days uses vsftpd daemon(very secured FTP daemon) is there VSFTPD for AIX?
if there is any where can i download it from?
thanks and regards
Pchangba (1 Reply)
Hi,
I want to configure chrooted FTP (not Proftpd) in AIX.
What are the steps to perform this configuration and which and config files in AIX to configure?
Thanks (1 Reply)
Hi All
We have planned to communicate with our trading prtner via FTP.
We both have servers running on AIX. We want to exchange files with each other via FTP.
I am new to AIX. Any help appreciated:)
Thanks:) (7 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,
I want to set FTP server on AIX to read only mode. I found out manual page for /etc/ftpaccess.ctl (manual page ).
I tried put readonly: ALL or
readonly: ALL
writeonly: NONE
and nothing happened (of course, I restart FTP server by stopsrc -t ftp; startsrc -t ftp) (2 Replies)
Hi,
I ftpd "binary" mode into a AIX server and transferred .tar.tar files.
When i untar using "tar -xvf <filename>.tar.gz"
It shows "tar: 0511-169 A directory checksum error on media; 0 not equal to 70568."
Please Help!! (3 Replies)
I am trying to transfer logs from Aix 6.1 to a linux appliance but it is not happening from last one month if i execute the batch command by command i can execute well but if i do it in shell script it is stuck without any error.
Any one know how to generate a FTP client trace to know the issue... (10 Replies)
Hi All,
This is the scenario:-
I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection)
FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance
Verify if all the files are copied... (24 Replies)
This discussion thread is an extension to what was discussed in Shell scripting section.
Please refer the post for the requirement:
Requirement Post - Click Here
The whole thread - Click Here
I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the... (3 Replies)
Discussion started by: TechGyaann
3 Replies
LEARN ABOUT OPENSOLARIS
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.11 1 May 2003 ftpconfig(1M)