Copies all info to a txt file. Opens it up full screen in leafpad so you can see the newest first. Closing leafpad deletes the .txt file and closes roxterm.
Thanks Again
Last edited by voorhees1979; 09-05-2009 at 06:33 PM..
How can I go about getting this done? I have tried and failed with a loop before I start the session and after seeing that I am already in the ftp code block and not bash when I am trying to perform this:
#FTP Information
ftp_server=xx.xxx.xxx.xx
ftp_user=xxxx
while read line; do... (1 Reply)
Hi,
I am writting a shell script which will pull a list files (mentioned in one file 1.txt) from external FTP site (for ex: ftp://abcd.efghijk.com/). The 1.txt is in my local unix directory. I have username and password to connect the external FTP site.
Also before I pull the files, I need... (0 Replies)
G'day,
I was wanting to write a shell script that checks an ftp server for the presence of new files, then get those files. In so much as the get, this is pretty straight forward, but I cannot work out how to get a list of files to check. Is it possible for a shell script to get the output of... (1 Reply)
I list files on server ftp, and i'm a french man then i have files with accents.
When i use wget for a mirroring, the files with accent are not encoded correctly, i have some "%CC%81" instead "é" for example...
I have idea to cat the file list and pipe for tr awk or sed but unfotunately nothing... (2 Replies)
Hi,
At work we have backups on a ftp.
I want to view 4 last files saved (their names, dates, and weight).
how can i achieve this goal using simplest way ?
Thank's. (3 Replies)
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)
Hi Guys,
Am writing a FTP script to download file from a remote server.
There are 3 files in the target directory.
eg.
bfg234.2
vfg345.1
abc123.1
abc123.2
I need to get the file "abc123.2". The number could be increasing everytime.I need to get the latest file. can this be done ? (1 Reply)
Hi,
i have a doubt. i am using .netrc file for login to a ftp server.
ftp abc.ftp.com
suppose i have 2 userid and password for the same server as shown below. which one is it going to read from the .netrc file?
cat .netrc
machine abc.ftp.com login admin1 password pass1
machine... (13 Replies)
Hello, i'm trying to solve this script.
List, one at a time, all files larger than 100K in the /home/username directory tree. Give the
user the option to delete or compress the file, then proceed to show the next one. Write to a
logfile the names of all deleted files and the deletion times.
I... (7 Replies)
Discussion started by: jose2802
7 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)