08-15-2016
A bit more info might be appreciated, e.g. strange/inadequate/unexpected behaviour or error messages.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to write a shell script to transfer files from Unix server to windows machine. This script will be scheduled on scheduler to run at specified intervals
#!/bin/ksh
ftp -n alaska <<End-Of-Session
user sss01 sample
cd /home/sss01
lcd D:/sample
mget *.txt
bye
when I executed the... (15 Replies)
Discussion started by: knag
15 Replies
2. UNIX for Advanced & Expert Users
Hi
There is a requirement for me to transfer files from Unix to windows in an automation process of unix.
Please let me know is it posibble to shell scripting this?
Could you help me in scripting it?
Regards
Venugopal (2 Replies)
Discussion started by: venu_eie
2 Replies
3. Solaris
Please let me know a efficient way to transfer files from a solaris to a windows machine. Total size of data is 800GB. (3 Replies)
Discussion started by: pingmeback
3 Replies
4. Shell Programming and Scripting
Dear Friends,
I need to transfer few files from a Windows 2000 server to Sun Solaris system, connected in the same network. This copy should be done as a batch job without asking for password to be entered every time. How to make this possible ???
At present I am using cygwin in my laptop... (4 Replies)
Discussion started by: ks_reddy
4 Replies
5. HP-UX
I need to transfer files from Windows to Hp-UX box with out any software(Filezilla ...., Fsecure file transfer)
Is it possible to transfer using command prompt ? (6 Replies)
Discussion started by: girija
6 Replies
6. Solaris
I have a file on my desktop which is windows based.
I make a telnet session with a Solaris machine that too with root access by using putty.
I want to transfer a file there on Solaris machine.
Is there a mean to transfer this file on solaris machine.
If now can it be known by using telnet... (6 Replies)
Discussion started by: nixhead
6 Replies
7. Shell Programming and Scripting
I have to transfer a file from unix to windows through Shell Script. I am using the below script, but it is not working. Please help. Please note --- I have to transfer the file from unix to windows. Not from windows to unix. I mean I don't have to use batch script.Only through unix shell script.... (1 Reply)
Discussion started by: vsachan
1 Replies
8. UNIX for Dummies Questions & Answers
I'm very new to linix (using puppy) and need to transfer some files on the same computer from windows to linix. Please use small easy words (2 Replies)
Discussion started by: bugzy
2 Replies
9. Solaris
Hello,
I have a couple of zip files to be copied from my local drive to a folder in solaris10 residing in a VM ware. i am using WINSCP, I tried to get hold of
the solaris hostname or ip using ifconfig -a , hostname|nslookup etc. when i create a new session in WINSCP using that IP and port... (6 Replies)
Discussion started by: herbich1985
6 Replies
10. Shell Programming and Scripting
Hi All
Please can you help, I´ve wrote the following script on a solaris 10 server to transfer files to a windows machine.
#!/usr/bin/sh
cd /moneta_polled01/download
HOST=10.100.4.72
USER=user1
PASSWD=V7stop
/usr/bin/ftp -v $HOST <<EOF
user $USER $PASSWD
cd tmp
binary
put... (7 Replies)
Discussion started by: fretagi
7 Replies
LEARN ABOUT DEBIAN
log::handler::levels
Log::Handler::Levels(3pm) User Contributed Perl Documentation Log::Handler::Levels(3pm)
NAME
Log::Handler::Levels - All levels for Log::Handler.
DESCRIPTION
Base class for Log::Handler.
Just for internal usage and documentation.
METHODS
Default log level
debug()
info()
notice()
warning(), warn()
error(), err()
critical(), crit()
alert()
emergency(), emerg()
Checking for active levels
is_debug()
is_info()
is_notice()
is_warning(), is_warn()
is_error(), is_err()
is_critical(), is_crit()
is_alert()
is_emergency(), is_emerg()
Special level
fatal()
Alternative for the levels "critical" - "emergency".
is_fatal()
Check if one of the levels "critical" - "emergency" is active.
Special methods
trace()
This method is very useful if you want to add a full backtrace to your message. Maybe you want to intercept unexpected errors and want
to know who called "die()".
$SIG{__DIE__} = sub { $log->trace(emergency => @_) };
By default the backtrace is logged as level "debug".
# would log with the level debug
$log->trace('who called who');
If you want to log with another level then you can pass the level as first argument:
$log->trace(info => $message);
dump()
If you want to dump something then you can use "dump()". The default level is "debug".
my %hash = (foo => 1, bar => 2);
$log->dump(\%hash);
If you want to log with another level then you can pass the level as first argument:
$log->dump($level => \%hash);
die()
This method logs the message to the output and then call "Carp::croak()" with the level "emergency" by default.
$log->die('an emergency error here');
If you want to log with another level, then you can pass the level as first argument:
$log->die(fatal => 'an emergency error here');
log()
With this method it's possible to log messages with the log level as first argument:
$log->log(info => 'an info message');
Is the same like
$log->info('an info message');
and
$log->log('an info message');
If you log without a level then the default level is "info".
PREREQUISITES
Carp
Data::Dumper
EXPORTS
No exports.
REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
If you send me a mail then add Log::Handler into the subject.
AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-11-21 Log::Handler::Levels(3pm)