11-13-2009
FTP feed back mail
I am having Oracle export script, in that FTP part only given below
ftp -n <<END
open $Server
user $FtpUser $FtpPwd
cd $FtpPath
binary
put $Tablename.flg
put $Filename.gz
bye
END
Now I want to get the feed back (success or fails) message.through mail. can anyone please help on this
Thanks in advance
sbmk
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I recieve 553 5.3.4 mail.xxxx.com config error: mail loops back to me (MX problem?) when I try to send email from client . The message reaches the server and dies there
I'm using sendmail 8.12.9 on OpenBSD 3.3. I can check mail on client with no problem
Thanks for any help (5 Replies)
Discussion started by: bluehell
5 Replies
2. Linux
How do i setup my linux server to act as a internal ftp server. i have 30 machines who would want to log onto external ftp servers ( for hosting and stuff ). They would have to go through a ftp server on the network server to get outside to the internet?
What program on linux would i use
How... (6 Replies)
Discussion started by: perleo
6 Replies
3. Shell Programming and Scripting
Hi,
I have created the following FTP script, which transfers daily “.txt” files from remote server in to a timestamped folder on local server. Once all files are FTP'ed, it then deletes files from remote server. When files are FTP'ed, I get a mail messege like, “Files are successfully transfered”,... (1 Reply)
Discussion started by: berlin_germany
1 Replies
4. Shell Programming and Scripting
Hi,
My ftp user name is in the format US\tere
I tried using escape characters US\\tere but it is not working fine
please advice..
sam (1 Reply)
Discussion started by: sam99
1 Replies
5. Shell Programming and Scripting
Hi
I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed.
Please advise how can i achieve this.
TIA
Prvn (5 Replies)
Discussion started by: prvnrk
5 Replies
6. AIX
I am unable to send mail externally. It gets refused from any mail server.
Here's my current config:
oslevel -s
5300-07-05-0831
********
mail -v foo@yahoo.com < /tmp/oracle.out
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9... (3 Replies)
Discussion started by: gravy26
3 Replies
7. UNIX for Dummies Questions & Answers
Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies
8. Solaris
Hi,
I am getting the below messsage in /var/adm/message after patching but sendmail is working after restoring the backup file.
sendmail: q4G7U1Cj014774: SYSERR(root): 127.0.0.1 config error: mail loops back to me (MX problem?)
sendmail: q4G801cw025824: SYSERR(root): 127.0.0.1 config... (3 Replies)
Discussion started by: fayaz
3 Replies
9. Red Hat
Hello,
We have been looking for ways of implementing some redundancy on our postfix gateways in our company. We have 4 Postfix Gateways.
mail2.domain.ro 10
mail.domain.ro 20
mail1.domain.ro 30
mail3.domain.ro 40
On nslookup we have like this:
domain.ro MX preference = 10,... (0 Replies)
Discussion started by: panaitescuionel
0 Replies
10. Open Source
Hi All,
I have a current Process that runs "windows script " for the file movement that needs to changed to a "DataStage Process (Using shell script )"
Source :Text file is getting generated as part of Datastage Jobs processes and resides in a shared drive (Unix server)
Target :ftp... (2 Replies)
Discussion started by: developer.dwh9
2 Replies
LEARN ABOUT DEBIAN
authen::simple::ftp
Authen::Simple::FTP(3pm) User Contributed Perl Documentation Authen::Simple::FTP(3pm)
NAME
Authen::Simple::FTP - Simple FTP authentication
SYNOPSIS
use Authen::Simple::FTP;
my $ftp = Authen::Simple::FTP->new(
host => 'ftp.company.com'
);
if ( $ftp->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::FTP
PerlSetVar AuthenSimpleFTP_host "ftp.company.com"
<Location /protected>
PerlAuthenHandler Authen::Simple::FTP
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
Authenticate against a FTP service.
METHODS
* new
This method takes a hash of parameters. The following options are valid:
* host Connection host, can be a hostname or IP number. Defaults to "localhost".
host => 'ftp.company.com'
host => '10.0.0.1'
* port Connection port, default to 21.
port => 21
* timeout
Connection timeout, defaults to 60.
timeout => 60
* log Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::FTP')
* authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Net::FTP.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-03-01 Authen::Simple::FTP(3pm)