Sponsored Content
Top Forums Shell Programming and Scripting running a script in a ftp session Post 302595480 by jaituteja on Friday 3rd of February 2012 09:27:50 AM
Old 02-03-2012
Is there any other alternative..??
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sqlplus session being able to see unix variables session within a script

Hi there. How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly. sqlplus << EOF user1@db1/pass1 BEGIN PACKAGE1.perform_updates($1,$2,$3); END; EOF Thanks in advance, Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies

2. Shell Programming and Scripting

Running a script without a terminal session

I'm trying to figure out how I can run a script "myScript.sh" in such a way that if my remote network connection gets disconnected, the script doesn't stop functioning. Right now I log in, run "./myScript.sh" and watch my output get pumped to a log file for about 10 hours. Only problem is that... (3 Replies)
Discussion started by: jjinno
3 Replies

3. Shell Programming and Scripting

Running a script for every ftp session

Hello all, I have written a shell script which would prompt the user to enter some name and a folder would be created by that name. This script should run automatically when the users provide there credentials during a FTP session and for every FTP session. And after they have provided there... (5 Replies)
Discussion started by: h3llh0l3
5 Replies

4. Shell Programming and Scripting

running script in ftp session

Dear Friends, I have this script CAP2_Launcher on suntest server. this script needs two input files in order to process them and produces an output files. I've created .bat file from windows to access the server and transfer the input files needed by the script and execute the script then pull... (3 Replies)
Discussion started by: sfaqih
3 Replies

5. UNIX for Dummies Questions & Answers

FTP Session

In FTP session, how could know the present working directory in local machine? pwd command gives the present working directory for remote machine only. (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

6. Shell Programming and Scripting

ftp script is not running from CRON

Hi I have an FTP script, which ftp's the files from one unix box to another box. It works from the command when I Issue > ksh ftp.ksh when I schedule it in CRON, it is not being executed automatically. Any thoughts please Thanks Ravi. (4 Replies)
Discussion started by: ravi.balley
4 Replies

7. Shell Programming and Scripting

ftp and running a script

Hi, I want to write a script that can connect from server A to server B .. so i need the following 1. sftp to server B 2. pull some files out from server B using an existing script in server A Can I do that? Thanks (3 Replies)
Discussion started by: arex876
3 Replies

8. Shell Programming and Scripting

running a bash script even after logging out from the current session

HI , I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (4 Replies)
Discussion started by: nks342
4 Replies

9. Shell Programming and Scripting

[Solved] The SCRIPT command - Can we see the log file of a running session?

Hello. This is my situation. script .anything ls -l . ---How can I see the content of .anything using (i.e) cat .anything? If not possible can someone suggest a sequence to simulate a console-recorder to "observ" from a RUNNING script session? Thanks Paolo Please use code tags... (3 Replies)
Discussion started by: paolfili
3 Replies

10. Shell Programming and Scripting

Running a script on remote server kills my login session

Hi there, I'm trying to run a script remotely on a server in a particular directory named after hostname which already exists, my login session gets killed as soon as I run the below command. Not sure what is wrong, is there a better way to do it ? Note: I can also use nohup command to run... (14 Replies)
Discussion started by: mbak
14 Replies
SVN::Notify::Alternative(3pm)				User Contributed Perl Documentation			     SVN::Notify::Alternative(3pm)

Name
       SVN::Notify::Alternative - MIME multipart/alternative notification

Synopsis
       Use svnnotify in post-commit:

	 svnnotify --repos-path "$1" --revision "$2" 
	   --to developers@example.com --handler Alternative [options]

       For example:

	 svnnotify --repos-path "$1" --revision "$2" 
	   --to developers@example.com --handler Alternative 
	   --alternative HTML::ColorDiff

       Use the class in a custom script:

	 use SVN::Notify::Alternative;

	 my $notifier = SVN::Notify::Alternative->new(%params);
	 $notifier->prepare;
	 $notifier->execute;

Description
       This subclass of SVN::Notify sends MIME multipart/alternative email messages for Subversion activity. The messages contain both the
       standard SVN::Notify plain text change notification and one or more alternative formats of the message. The default alternative format is
       HTML.

       Note that this means that many or all of the processing of a subversion commit will be executed multiple times, once for the plain text
       version and then again for each alternative version. This will therefore increase resource usage on your Subversion server (mainly
       processor time, but also possibly memory).

       It also means that the size of the outgoing message will increase for each alternative. If you're using "--with-diff", then those messages
       could be very large indeed for large commits. If, however, you use "--attach-diff", the diff will only be attached to the last alternative.

Usage
       To use SVN::Notify::Alternative, simply follow the instructions in SVN::Notify, but when using svnnotify, use the "--alternative" option to
       add one or more alternative formats.

Class Interface
   Constructor
       new

	 my $notifier = SVN::Notify::Alternative->new(%params);

       Constructs and returns a new SVN::Notify object. All parameters supported by SVN::Notity are supported here, as are the options of all
       specified alternative formats, but SVN::Notify::Alternative supports an additional parameter:

       alternatives
	     svnnotify --alternative HTML
	     svnnotify --alt HTML --alt HTML::ColorDiff

	   An array reference that specifies the SVN::Notify handlers (subclasses) to be used for formatting the alternative parts of the
	   notification message. The command-line option may be called as either "--alternative" or "--alt", and the value is the same as that of
	   the SVN::Notify "--handler" parameter, i.e.	the module name without the "SVN::Notify::" prefix. Specify the option multiple times to
	   specify multiple alternative handlers. Defaults to "['HTML']" if not specified.

Instance Interface
   Instance Methods
       output

	 $notifier->output($file_handle);

       Overrides the "output()" method of SVN::Notify to replace the standard message output with a MIME "multipart/alternative" skeleton. It then
       creates new instances of the standard SVN::Notify plain text formatter and each of the configured alternative formatters, and uses those
       instances to fill in the alternative parts of the message. If "attach_diff" is true, it will be used only in the last alternative to be
       output, which should also be the richest format.

   Accessors
       In addition to those supported by SVN::Notify, SVN::Notify::Alternative supports the following accessors:

       alternatives

	 my $alts = $notify->alternatives;
	 $notify->alternatives($alts);

       Gets or sets the value of the "alternatives" attribute, which must always be set to an array reference.

See Also
       SVN::Notify

Authors
       Jukka Zitting <jz@yukatan.fi>

       David E. Wheeler <david@kineticode.com>

Copyright and License
       Copyright (c) 2005-2009 Jukka Zitting and Kineticode, Inc. Some Rights Reserved.

       This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

perl v5.10.1							    2011-03-15					     SVN::Notify::Alternative(3pm)
All times are GMT -4. The time now is 10:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy