10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
Kindly share scripts to find aging file and ftp to another server..
Example:
Find files more than 5 days and ftp to another server.
Please give suggestion :)
Thanks
Edy (1 Reply)
Discussion started by: edydsuranta
1 Replies
2. Shell Programming and Scripting
Hi all,
Need advice from expect, below is my scripts to find the file not use and touch in storage and other directory.
This scripts divide by:
1. 30 days
2. 90 days
3. 180 days
4. 1 years
5. 3 years
6. 5 years
Then count total size in GB from 6 each category.
Sample my... (5 Replies)
Discussion started by: sheikh76
5 Replies
3. Shell Programming and Scripting
I have a script that generates a file which is my own incarnation of a date using the 'date' function (we'll call this script a). I would like that script to invoke my other script (script b) which contains my ftp info. Since I have yet to figure out a good way to use regular ftp (yes i can only... (6 Replies)
Discussion started by: DC Slick
6 Replies
4. UNIX for Dummies Questions & Answers
I want to "less" a file and go to first occurrence of a string in one command.
Is it possible?
Thanks! (2 Replies)
Discussion started by: carloszhang
2 Replies
5. Shell Programming and Scripting
Hi everybody,
i suddenly got in a requirement whereby:
I have to create a script whereby I need to connect with a remote server with a FTP script and search whether a file named filename.txt or *.txt exists or not in the remote server. If it exists then my script has to return a value.
... (18 Replies)
Discussion started by: RubinPat
18 Replies
6. UNIX for Advanced & Expert Users
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies
7. UNIX for Advanced & Expert Users
Hi, I really need to create a script that counts for file and ftp's them to a windows directory. !st problem i'm having is getting it to ftp withouty prompting me, i tried |& on the end of the ftp, but then it just hits a syntax error. 2nd problem is, i have to have a wildcard in this script. which... (3 Replies)
Discussion started by: dappa
3 Replies
8. Shell Programming and Scripting
i have writen a shell to ftp a file automatically by taking the input from a file
i have created on file tstftp as
set timeout 120
ftp
spawn ftp
expect "ftp>"
send "o 11.90.2.20 \r"
expect "Name:"
send "itcomxxl\r"
expect "Password:"
send "csms091206\r"
expect "ftp>"
send "prompt... (1 Reply)
Discussion started by: sasiprabu
1 Replies
9. Programming
Hi,
I am a not strong programmer and now my boss ask me how should I do a job to automated FTP that have error check.
I know about:
* using system() to call a command to trigger ftp in C Coding.
The senarios as follows:
1. FTP the file(s) (e.g ELA_20060407.dat) to a given LAN server... (1 Reply)
Discussion started by: songtam
1 Replies
10. Shell Programming and Scripting
Hi,
I am trying to automate FTP login to a remote server and put a file there. But no matter what i do, It still is aksing me for the login and password although i have it defined in the variable.
Could you tell me what is wrong with this script. I am doing this on SUN server.
Pls... (11 Replies)
Discussion started by: systemali
11 Replies