[HELP] Scripts moving aging file by FTP


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [HELP] Scripts moving aging file by FTP
# 1  
Old 02-18-2013
[HELP] Scripts moving aging file by FTP

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 Smilie

Thanks
Edy
# 2  
Old 02-18-2013
What have you tried so far? We are here to help, but we are not a scripting service.
These 3 Users Gave Thanks to jim mcnamara For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Need HELP] Find aging file and auto FTP

Dear Experts, I have script to find aging file like this: find /ArchiveINTF/INTF name "*" -type f -mtime +365 {} \; >> agingfile.txt This script will find all files over 365 days. But, I have problem, how to auto FTP all files? Thanks Edy (3 Replies)
Discussion started by: edydsuranta
3 Replies

2. Solaris

Moving directory structure and scripts from HP to Solaris

Hi, I am presently working in a migration project from HP Unix to Sun Solaris. I need to place all the directory structures, shell scripts and users into Sun Solaris. By doing this task manually there is a possibility for discrepencies. So any tools are there to do these kind of... (4 Replies)
Discussion started by: nag_sathi
4 Replies

3. Shell Programming and Scripting

Help for shell scripts for moving all files from one directory to another

Hi , Can you please check this code .I am getting the follwing error while executing the script. Please help me out. #rm /tmp/$$ #!/bin/ksh dir_one="/usr/bin/sou" dir_two="usr/bin/sou/temp" for files in $dir_one/*.txt do ... (31 Replies)
Discussion started by: soumyamishra
31 Replies

4. Shell Programming and Scripting

Aging file not use and touch

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

5. Shell Programming and Scripting

Need help with FTP scripts

Hi, I'm using the following code to FTP files from a remote system. ftp -inv <ip address> <<ENDFTP user uname password ENDFTP echo " binary get <file name> bye " > ftp.tmp ftp -inv < ftp.tmp I want to know how I can capture the details of the FTP process in a file. I would also... (3 Replies)
Discussion started by: bornon2303
3 Replies

6. Shell Programming and Scripting

FTP files are not moving/copying

Hi I want to FTP some file from one server to another server, those file should copy from one server to another and then move the same files to another folder in the same server. I have written the code but the text files are moving and coping but the remaing file are not moving or coping to... (4 Replies)
Discussion started by: mahantysk
4 Replies

7. Shell Programming and Scripting

FTP Scripts

HI All Need a help in FTP script i need to ask the user to enter the source ftp server and password and target ftp server and password , once it has logged in to the source server it need to go to directory and ftp to the target server can anyone help me on this , Sample code is... (27 Replies)
Discussion started by: raghav1982
27 Replies

8. Shell Programming and Scripting

moving a file to a new folder and automated ftp

how to move a file to a different folder after an automated FTP . (1 Reply)
Discussion started by: dineshr85
1 Replies

9. Shell Programming and Scripting

FTP is using shell scripts create ? for file

ftp -n -v <<EOF verbose open 3.57.40.79 user infodvlp pr0gram ascii lcd /home/a501420038/GLA/Success_Load/ cd /ftp/SrcFiles/csg/InstruAsia/ get AU_Success_Log.txt close quit EOF Please help on this, this gives the out put "AU_Success_Log.txt?" As question mark in the last what will... (1 Reply)
Discussion started by: a501420038
1 Replies

10. Shell Programming and Scripting

How to find out Errors in FTP Scripts

Hi Please let me know is there any way through which I can find out errors & do debugging in FTP scripts. Thanks Sourabh TCS (1 Reply)
Discussion started by: sourabhshakya
1 Replies
Login or Register to Ask a Question