10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
we need to have periodic clean up implemented in our sap directory \\sapds\PR1\int\scm\snp\outbound\snapshot. which needs unix script for Deleting files older than 14 days automatically in sap system unix os. (1 Reply)
Discussion started by: kvkreddy_b2w
1 Replies
2. Shell Programming and Scripting
Hello,
I have a server that I have to ftp files off and they all start SGRD and are followed by 6 numbers.
SGRD000001
SGRD000002
SGRD000003
The script I have will run every 10 mins to pick up files as new ones will be coming in all the time and what I want to do is delete the files I have... (7 Replies)
Discussion started by: sph90457
7 Replies
3. Shell Programming and Scripting
Hi,
I want to delete a file on the local server, while connected to remote server through FTP.
I am using the below code for this
$FTP_CMD -v -n $HOST <<*! >> $LOGFILE 2>&1
user $USER $PASSWORD
cd $DIR
... (11 Replies)
Discussion started by: jhilmil
11 Replies
4. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
5. AIX
Hi
In my aix server under the location "/usr/sap/SAPXI/extract", I have a lot of log files.
I need a script which is to be added in crontab so that the files and directories older than 14 days should get deleted automatically from the location "/usr/sap/SAPXI/extract".
Please advise me.... (3 Replies)
Discussion started by: samsungsamsung
3 Replies
6. Shell Programming and Scripting
Hi,
I'm quite new to unix and perl scripting and need to write a script to delete files older than 7 days from a remote ftp server. Unix or Perl script would do...
I wrote the following code:
#!/usr/local/bin/perl
use File::Basename;
use Net::FTP;
#use Net::FTP::File;
my $verbose =... (15 Replies)
Discussion started by: arunsoman80
15 Replies
7. Shell Programming and Scripting
Hi,
I am getting error when i am deleting file from FTP and also transferring file from local to FTP server.
I am getting 221 error. I am getting this error some time only.
Some time the existing file from FTP is deleted and file from local directory is transferred to FTP server.
... (2 Replies)
Discussion started by: praka
2 Replies
8. Shell Programming and Scripting
Hi,
I have problem in writing the UNIX scripts,I have one SAP server and my local server .I want to take one file from SAP server to my local server weekly bases I want to write one UNIX scripts which will automatically takes that file from SAP server to my server.so I need not need to pull the... (1 Reply)
Discussion started by: Mohsin22021987
1 Replies
9. Shell Programming and Scripting
Hi,
Is there a way to ftp file from windows to Unix directory by using crontab to set up a job ?
Thanks! (4 Replies)
Discussion started by: whatisthis
4 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I'm newby in this great forum.
I'm working as an Intelligent Networks Administrator for a Fixed telephony company.
I want to write a script shell that helps me in my daily/weekly tasks.
A voice switch sends every hour a statistic file to a log directory.
By now, i've got more than 5000... (4 Replies)
Discussion started by: FabioALex
4 Replies