10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Shell Programming and Scripting
i have a doubt. i am using .netrc file for login to a ftp server.
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?
machine abc.ftp.com login admin1 password pass1
machine... (13 Replies)
Discussion started by: Little
3. Shell Programming and Scripting
Am writing a FTP script to download file from a remote server.
There are 3 files in the target directory.
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)
Discussion started by: giri_luck
OS: Solaris 9
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
5. Shell Programming and Scripting
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)
Discussion started by: simon974
6. Shell Programming and Scripting
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)
Discussion started by: protocomm
7. Shell Programming and Scripting
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)
Discussion started by: Elric of Grans
8. Shell Programming and Scripting
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)
Discussion started by: spatra
9. Shell Programming and Scripting
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:
while read line; do... (1 Reply)
Discussion started by: BkontheShell718
10. Shell Programming and Scripting
i need a method to hide the login name and password ....during FTP ....in the script..
thnks (3 Replies)
Discussion started by: scorpiyanz