FTP-Operator in Workflow

I want to use the ftp-operator in an OWB-Workflow. Thats why i use the OWB as the client to implement the workflow.
I want to use a script, that is managed in the owb itself.
I configure the ftp operator in this way:
COMMAND: /usr/bin/ftp (i can start the command at the command line on the server)
PARAMETER_LIST: ?"${Task.Input}"?
SUCCESS_THRESHOLD: 0
SCRIPT: [my script with the ftp Commands]
After the execution of the workflow i get the error message: "/usr/bin/ftp -n: not found"
in Runtime Audit Browser of the OWB.
I think it is perhaps an installation or permission issue concerning workflow server.
Thats why: Does anybody know what i have to do to get the ftp operator running?
The operating system of the database server is HP UX.
Thanks in advance
Alexander

Hi,
why do you want to use ftp? As against going directly to the source database? (So much faster and easier). I haven't used ftp since the last century.
Regards,
Donna

Similar Messages

  • How to cancel FTP operation

    I am using the internet tookit FTP vis. Is there any way to cancel an FTP operation while you are in the middle of it? For instance, if the user has requested a get file for a large file on an RT device but then you need to close the program or somemthing.
    Right now we have a program on the pc communicating with a vi running on an RT device by shared variable. When the pc side wants to download files, it indicates this over shared variable to the RT device. The device prepares the list of files to request and sends that to the pc, it then goes into a wait state so that it isn't trying to record while the pc is downloading files. The pc goes through the list of files and FTP 'get file' s each one.  When the pc is finished it indicates this to the RT device so it can continue recording. I would like to be able to cancel the ftp get file operation in the middle of it downloading a large file and then tell the crio to get back to what it was doing.
    [will work for kudos]

    rex1030 wrote:
    Is there any way to pass data between a vi and a subvi that is running? Changing the value of a boolean while the subvi is running would be enough. Maybe shared variables?
    There are lots of ways just like Raven mentioned. The trick though is that the subVI will need to have the programming support to detect the new data. If the subVI isn't looking for the data then it really doesn't matter if you change it. This is where a good design and some forethought come into play.
    Message Edited by Mark Yedinak on 03-10-2010 02:58 PM
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • StringIndexOutofBounds Exception while doing FTP operation

    Hello, I got this exception at run time when I am doing my FTP operations
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:455)
    at FTPConnection.getFullServerReply(FTPConnection.java:312)
    at FTPConnection.getServerReply(FTPConnection.java:296)
    at FTPConnection.executeCommand(FTPConnection.java:329)
    at FTPConnection.login(FTPConnection.java:107)
    at JEditor$FTPUpload.checkTF(JEditor.java:2755)
    at JEditor$FTPUpload.actionPerformed(JEditor.java:2783)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
    67)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:258)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    The file that I used for my FTP is
    * File: FTPConnection.java
    * Author: Bret Taylor <[email protected]>
    * $Id$
    * Parts of this code were adopted from a variety of other FTP classes the
    * author has encountered that he was not completely satisfied with. If you
    * think more thanks are due to any particular author than is given, please
    * let him know. With that caveat, this class can be freely distributed and
    * modified as long as Bret Taylor is given credit in the source code comments.
    import java.io.*;
    import java.net.*;
    import java.util.*;
    * <p>A wrapper for the network and command protocols needed for the most common
    * FTP commands. Standard usage looks something like this:</p>
    * <pre> FTPConnection connection = new FTPConnection();
    * try {
    * if (connection.connect(host)) {
    * if (connection.login(username, password)) {
    * connection.downloadFile(serverFileName);
    * connection.uploadFile(localFileName);
    * connection.disconnect();
    * } catch (UnknownHostException e) {
    * // handle unknown host
    * } catch (IOException e) {
    * // handle I/O exception
    * }</pre>
    * <p>Most FTP commands are wrapped by easy-to-use methods, but in case clients
    * need more flexibility, you can execute commands directly using the methods
    * executeCommand and
    * executeDataCommand,
    * the latter of which is used for commands that require an open data port.</p>
    * @author Bret Taylor
    * @version 1.0
    public class FTPConnection extends Object {
         * If this flag is on, we print out debugging information to stdout during
         * execution. Useful for debugging the FTP class and seeing the server's
         * responses directly.
         private static boolean PRINT_DEBUG_INFO = false;
         * Connects to the given FTP host on port 21, the default FTP port.
         public boolean connect(String host)
              throws UnknownHostException, IOException
              return connect(host, 21);
         * Connects to the given FTP host on the given port.
         public boolean connect(String host, int port)
              throws UnknownHostException, IOException
              connectionSocket = new Socket(host, port);
              outputStream = new PrintStream(connectionSocket.getOutputStream());
              inputStream = new BufferedReader(new InputStreamReader(connectionSocket.getInputStream()));
              if (!isPositiveCompleteResponse(getServerReply())){
                   disconnect();
                   return false;
              return true;
         * Disconnects from the host to which we are currently connected.
         public void disconnect()
              if (outputStream != null) {
                   try {
                        outputStream.close();
                        inputStream.close();
                        connectionSocket.close();
                   } catch (IOException e) {}
                   outputStream = null;
                   inputStream = null;
                   connectionSocket = null;
         * Wrapper for the commands <code>user [username]</code> and <code>pass
         * [password]</code>.
         public boolean login(String username, String password)
              throws IOException
              int response = executeCommand("user " + username);
              if (!isPositiveIntermediateResponse(response)) return false;
              response = executeCommand("pass " + password);
              return isPositiveCompleteResponse(response);
         * Wrapper for the command <code>cwd [directory]</code>.
         public boolean changeDirectory(String directory)
              throws IOException
              int response = executeCommand("cwd " + directory);
              return isPositiveCompleteResponse(response);
         * Wrapper for the commands <code>rnfr [oldName]</code> and <code>rnto
         * [newName]</code>.
         public boolean renameFile(String oldName, String newName)
              throws IOException
              int response = executeCommand("rnfr " + oldName);
              if (!isPositiveIntermediateResponse(response)) return false;
              response = executeCommand("rnto " + newName);
              return isPositiveCompleteResponse(response);
         * Wrapper for the command <code>mkd [directory]</code>.
         public boolean makeDirectory(String directory)
              throws IOException
              int response = executeCommand("mkd " + directory);
              return isPositiveCompleteResponse(response);
         * Wrapper for the command <code>rmd [directory]</code>.
         public boolean removeDirectory(String directory)
              throws IOException
              int response = executeCommand("rmd " + directory);
              return isPositiveCompleteResponse(response);
         * Wrapper for the command <code>cdup</code>.
         public boolean parentDirectory()
              throws IOException
              int response = executeCommand("cdup");
              return isPositiveCompleteResponse(response);
         * Wrapper for the command <code>dele [fileName]</code>.
         public boolean deleteFile(String fileName)
              throws IOException
              int response = executeCommand("dele " + fileName);
              return isPositiveCompleteResponse(response);
         * Wrapper for the command <code>pwd</code>.
         public String getCurrentDirectory()
              throws IOException
              String response = getExecutionResponse("pwd");
              StringTokenizer strtok = new StringTokenizer(response);
              // Get rid of the first token, which is the return code
              if (strtok.countTokens() < 2) return null;
              strtok.nextToken();
              String directoryName = strtok.nextToken();
              // Most servers surround the directory name with quotation marks
              int strlen = directoryName.length();
              if (strlen == 0) return null;
              if (directoryName.charAt(0) == '\"') {
                   directoryName = directoryName.substring(1);
                   strlen--;
              if (directoryName.charAt(strlen - 1) == '\"')
                   return directoryName.substring(0, strlen - 1);
              return directoryName;
         * Wrapper for the command <code>syst</code>.
         public String getSystemType()
              throws IOException
              return excludeCode(getExecutionResponse("syst"));
         * Wrapper for the command <code>mdtm [fileName]</code>. If the file does
         * not exist, we return -1;
         public long getModificationTime(String fileName)
              throws IOException
              String response = excludeCode(getExecutionResponse("mdtm " + fileName));
              try {
                   return Long.parseLong(response);
              } catch (Exception e) {
                   return -1L;
         * Wrapper for the command <code>size [fileName]</code>. If the file does
         * not exist, we return -1;
         public long getFileSize(String fileName)
              throws IOException
              String response = excludeCode(getExecutionResponse("size " + fileName));
              try {
                   return Long.parseLong(response);
              } catch (Exception e) {
                   return -1L;
         * Wrapper for the command <code>retr [fileName]</code>.
         public boolean downloadFile(String fileName)
              throws IOException
              return readDataToFile("retr " + fileName, fileName);
         * Wrapper for the command <code>retr [serverPath]</code>. The local file
         * path to which we will write is given by <code>localPath</code>.
         public boolean downloadFile(String serverPath, String localPath)
              throws IOException
              return readDataToFile("retr " + serverPath, localPath);
         * Wrapper for the command <code>stor [fileName]</code>.
         public boolean uploadFile(String fileName)
              throws IOException
              return writeDataFromFile("stor " + fileName, fileName);
         * Wrapper for the command <code>stor [localPath]</code>. The server file
         * path to which we will write is given by <code>serverPath</code>.
         public boolean uploadFile(String serverPath, String localPath)
              throws IOException
              return writeDataFromFile("stor " + serverPath, localPath);
         * Set the restart point for the next download or upload operation. This
         * lets clients resume interrupted uploads or downloads.
         public void setRestartPoint(int point)
              restartPoint = point;
              debugPrint("Restart noted");
         * Gets server reply code from the control port after an ftp command has
         * been executed. It knows the last line of the response because it begins
         * with a 3 digit number and a space, (a dash instead of a space would be a
         * continuation).
         private int getServerReply()
              throws IOException
              return Integer.parseInt(getFullServerReply().substring(0, 3));
         * Gets server reply string from the control port after an ftp command has
         * been executed. This consists only of the last line of the response,
         * and only the part after the response code.
         private String getFullServerReply()
              throws IOException
              String reply;
              do {
                   reply = inputStream.readLine();
                   debugPrint(reply);
              } while(!(Character.isDigit(reply.charAt(0)) &&
                        Character.isDigit(reply.charAt(1)) &&
              Character.isDigit(reply.charAt(2)) &&
                        reply.charAt(3) == ' '));
              return reply;
         * Executes the given FTP command on our current connection, returning the
         * three digit response code from the server. This method only works for
         * commands that do not require an additional data port.
         public int executeCommand(String command)
              throws IOException
              outputStream.println(command);
              return getServerReply();
         * Executes the given FTP command on our current connection, returning the
         * last line of the server's response. Useful for commands that return
         * one line of information.
         public String getExecutionResponse(String command)
              throws IOException
              outputStream.println(command);
              return getFullServerReply();
         * Executes the given ftpd command on the server and writes the results
         * returned on the data port to the file with the given name, returning true
         * if the server indicates that the operation was successful.
         public boolean readDataToFile(String command, String fileName)
              throws IOException
              // Open the local file
              RandomAccessFile outfile = new RandomAccessFile(fileName, "rw");
              // Do restart if desired
              if (restartPoint != 0) {
                   debugPrint("Seeking to " + restartPoint);
                   outfile.seek(restartPoint);
              // Convert the RandomAccessFile to an OutputStream
              FileOutputStream fileStream = new FileOutputStream(outfile.getFD());
              boolean success = executeDataCommand(command, fileStream);
              outfile.close();
              return success;
         * Executes the given ftpd command on the server and writes the contents
         * of the given file to the server on an opened data port, returning true
         * if the server indicates that the operation was successful.
         public boolean writeDataFromFile(String command, String fileName)
              throws IOException
              // Open the local file
              RandomAccessFile infile = new RandomAccessFile(fileName, "r");
              // Do restart if desired
              if (restartPoint != 0) {
                   debugPrint("Seeking to " + restartPoint);
                   infile.seek(restartPoint);
              // Convert the RandomAccessFile to an InputStream
              FileInputStream fileStream = new FileInputStream(infile.getFD());
              boolean success = executeDataCommand(command, fileStream);
              infile.close();
              return success;
         * Executes the given ftpd command on the server and writes the results
         * returned on the data port to the given OutputStream, returning true
         * if the server indicates that the operation was successful.
         public boolean executeDataCommand(String command, OutputStream out)
              throws IOException
              // Open a data socket on this computer
              ServerSocket serverSocket = new ServerSocket(0);
              if (!setupDataPort(command, serverSocket)) return false;
              Socket clientSocket = serverSocket.accept();
              // Transfer the data
              InputStream in = clientSocket.getInputStream();
              transferData(in, out);
              // Clean up the data structures
              in.close();
              clientSocket.close();
              serverSocket.close();
              return isPositiveCompleteResponse(getServerReply());     
         * Executes the given ftpd command on the server and writes the contents
         * of the given InputStream to the server on an opened data port, returning
         * true if the server indicates that the operation was successful.
         public boolean executeDataCommand(String command, InputStream in)
              throws IOException
              // Open a data socket on this computer
              ServerSocket serverSocket = new ServerSocket(0);
              if (!setupDataPort(command, serverSocket)) return false;
              Socket clientSocket = serverSocket.accept();
              // Transfer the data
              OutputStream out = clientSocket.getOutputStream();
              transferData(in, out);
              // Clean up the data structures
              out.close();
              clientSocket.close();
              serverSocket.close();
              return isPositiveCompleteResponse(getServerReply());     
         * Transfers the data from the given input stream to the given output
         * stream until we reach the end of the stream.
         private void transferData(InputStream in, OutputStream out)
              throws IOException
              byte b[] = new byte[1024]; // 1K blocks I guess
              int amount;
              // Read the data into the file
              while ((amount = in.read(b)) > 0) {
                   out.write(b, 0, amount);
         * Executes the given ftpd command on the server and writes the results
         * returned on the data port to the given FilterOutputStream, returning true
         * if the server indicates that the operation was successful.
         private boolean setupDataPort(String command, ServerSocket serverSocket)
              throws IOException
              // Send our local data port to the server
              if (!openPort(serverSocket)) return false;
              // Set binary type transfer
              outputStream.println("type i");
              if (!isPositiveCompleteResponse(getServerReply())) {
                   debugPrint("Could not set transfer type");
                   return false;
              // If we have a restart point, send that information
              if (restartPoint != 0) {
                   outputStream.println("rest " + restartPoint);
                   restartPoint = 0;
                   // TODO: Interpret server response here
                   getServerReply();
              // Send the command
              outputStream.println(command);
              return isPositivePreliminaryResponse(getServerReply());
         * Get IP address and port number from serverSocket and send them via the
         * <code>port</code> command to the ftp server, returning true if we get a
         * valid response from the server, returning true if the server indicates
         * that the operation was successful.
         private boolean openPort(ServerSocket serverSocket)
              throws IOException
              int localport = serverSocket.getLocalPort();
              // get local ip address
              InetAddress inetaddress = serverSocket.getInetAddress();
              InetAddress localip;
              try {
                   localip = inetaddress.getLocalHost();
              } catch(UnknownHostException e) {
                   debugPrint("Can't get local host");
                   return false;
              // get ip address in high byte order
              byte[] addrbytes = localip.getAddress();
              // tell server what port we are listening on
              short addrshorts[] = new short[4];
              // problem: bytes greater than 127 are printed as negative numbers
              for(int i = 0; i <= 3; i++) {
                   addrshorts[i] = addrbytes;
                   if (addrshorts[i] < 0)
                        addrshorts[i] += 256;
              outputStream.println("port " + addrshorts[0] + "," + addrshorts[1] +
              "," + addrshorts[2] + "," + addrshorts[3] + "," +
              ((localport & 0xff00) >> 8) + "," +
              (localport & 0x00ff));
              return isPositiveCompleteResponse(getServerReply());
         * True if the given response code is in the 100-199 range.
         private boolean isPositivePreliminaryResponse(int response)
              return (response >= 100 && response < 200);
         * True if the given response code is in the 300-399 range.
         private boolean isPositiveIntermediateResponse(int response)
              return (response >= 300 && response < 400);
         * True if the given response code is in the 200-299 range.
         private boolean isPositiveCompleteResponse(int response)
              return (response >= 200 && response < 300);
         * True if the given response code is in the 400-499 range.
         private boolean isTransientNegativeResponse(int response)
              return (response >= 400 && response < 500);
         * True if the given response code is in the 500-599 range.
         private boolean isPermanentNegativeResponse(int response)
              return (response >= 500 && response < 600);
         * Eliminates the response code at the beginning of the response string.
         private String excludeCode(String response)
              if (response.length() < 5) return response;
              return response.substring(4);
         * Prints debugging information to stdout if the private flag
         * <code>PRINT_DEBUG_INFO</code> is turned on.
         private void debugPrint(String message) {
              if (PRINT_DEBUG_INFO) System.err.println(message);
         * The socket through which we are connected to the FTP server.
         private Socket connectionSocket = null;
         * The socket output stream.
         private PrintStream outputStream = null;
         * The socket input stream.
         private BufferedReader inputStream = null;
         * The offset at which we resume a file transfer.
         private long restartPoint = 0L;
    Please help me where am I wrong?
    Thanks

    I would guess the error happens at this line:
    } while(!(Character.isDigit(reply.charAt(0)) && ...
    because apparently reply.length() is 0 at the point of failure, so charAt(0) is beyond the end of the string. You need to check the length first.

  • An error occurred in the requested FTP operation. Detailed error description: The password was not allowed

    Hi All,
    We are using FTP Connection in our SSIS Package which will take a flat file from the sharepath to another FTP Path.
    We used SqlServerTableConfiguration to store all the connection. Initally we have stored only the below connection int he
    SqlConfiguration table. ie only the server name
    Note : We are not using XML Configuration.
    ConfigurationFilter
       ConfiguredValue
    PackagePath
    Filter_ftp               
     pqrft- pcmnt.uk.acenentcapmc.com:21
    \Package.Connections[FTP Connection Manager].Properties[ConnectionString]
    while running the job we have found that we have not stored the UserName and password so we have added the below entries in the Sql Configuration table
    In the Configurationtable we have the following entires
    ConfigurationFilter
    ConfiguredValue
    PackagePath
    Filter_ftp                    
    pgrotmlceni
    \Package.Connections[FTP Connection Manager].Properties[ServerUserName]
    Filter_ftp
    21
    \Package.Connections[FTP Connection Manager].Properties[ServerPort]
    Filter_ftp
    abcdXYZ
    \Package.Connections[FTP Connection Manager].Properties[ServerPassword]
    Filter_ftp
    pqrft-pcmnt.uk.acenentcapmc.com
    \Package.Connections[FTP Connection Manager].Properties[ServerName]
    Filter_ftp
    pqrft-pcmnt.uk.acenentcapmc.com:21
    \Package.Connections[FTP Connection Manager].Properties[ConnectionString]
    In the package properties we have selected  "DontSaveSentivity" Option.
    We are getting the below error message when we run the package through jobs after deployment and also we are getting the same error message even when we run the package from Bids
    Message
    Executed as user:abc_xyz-proxy. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4000.0 for 32-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  06:53:16  Error: 2013-12-16 06:53:20.69    
    Code: 0xC001602A     Source: SSIS_ABC_GT_GRoots_Export Connection manager "FTP Connection Manager"     Description: An error occurred in the requested FTP operation. Detailed error description: The password
    was not allowed  .  End Error  Error: 2013-12-16 06:53:20.71     Code: 0xC002918F     Source: FTP Task FTP Task     Description: Unable to connect to FTP server using "FTP Connection
    Manager".  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  06:53:16  Finished: 06:53:20  Elapsed:  3.822 seconds.  The package execution failed.  The step failed.
    ilikemicrosoft

    Hi Surendiran,
    The issue should occur because the syntax of the ConnetionString property of the FTP Connection Manager is incorrect. In fact, the ConnectionString property is unnecessary. I suggest that you only use the four properties instead: ServerName, ServerPort,
    ServerUserName, and ServerPassword.
    Reference:
    http://stackoverflow.com/questions/3888170/ftp-connection-string-using-expression-in-ssis
    Regards,
    Mike Yin
    If you have any feedback on our support, please click here
    Mike Yin
    TechNet Community Support

  • FTP Operations

    Hello, I am trying to do FTP Operations using the sun.net.ftp.*; package. But I am unable to get what I am looking for. I am trying to send a file to the server when I click on a button. Could any one see the code and correct me where I am wrong please?
         protected FtpClient m_client;
         protected String m_sLocalFile;
         protected String m_sHostFile;
    public static int BUFFER_SIZE = 10240;
    JTextField directory = new JTextField();
    String jtf6 = directory.getText();
    public void checkTF();
              // Parse URL
                   int index = jtf6.indexOf("//");
                   if (index >= 0)
                   jtf6 = jtf6.substring(index+2);
                   index = jtf6.indexOf("/");
                   String host = jtf6.substring(0, index);
                   jtf6 = jtf6.substring(index+1);
                   String sDir = "";
                   index = jtf6.lastIndexOf("/");
                   if (index >= 0) {
                   sDir = jtf6.substring(0, index);
                   jtf6 = jtf6.substring(index+1);
                   m_sHostFile = jtf6;
              protected void putFile()
                   byte[] buffer = new byte[BUFFER_SIZE];
                   try
                        File f = new File(jtf1);
                        int size = (int)f.length();
                        FileInputStream in = new FileInputStream(jtf1);
                        System.out.println("fileinputstream:"+in);
                        OutputStream out = m_client.put(m_sHostFile);
                        System.out.println("outputstream:"+out);
                        int counter = 0;
                        while(true)
                                  int bytes = in.read(buffer);
                                  if (bytes < 0)
                                  break;
                                  out.write(buffer, 0, bytes);
                                  counter += bytes;
                        out.close();
                        in.close();
                   catch (Exception ex)
                        ex.printStackTrace();
                        //System.out.println("Error: " + ex.toString());
         protected void disconnect()
              if (m_client != null)
              try
                        m_client.closeServer();
              catch (IOException ex) {}
              m_client = null;
              Runnable runner = new Runnable()
              public void run()
              FTPtest.this.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
              SwingUtilities.invokeLater(runner);
    // in action performed
                   if(ae.getSource() == JButton1)
                        checkTF();
                        putFile();
                        disconnect();
    Please help me.
    Thanks

    Hi
    It is not advisable to use sun.net.ftp package, if you want i can give a custom code which i have written using the java.net package. Add some duke dollars to the post if you want the code..
    Thanks
    Swaraj

  • There's no SNMP record (on rttMonStatsCollectTable) for IP SLA DNS, FTP operation on IOS 15.3 and above

    Hi,
    I try to collect data of an IPSLA probe through SNMP on a Cisco 1900 with IOS 155.1T , when I create a DNS and FTP probes and run those probes, I look at rttMonStatsCollectTable (.1.3.6.1.4.1.9.9.42.1.3.2) to get the result as I did before on IOS 12, but there's no record for DNS nor FTP.
    The other probe (TCP, UDP ...) has statistic records here, but not for DNS, FTP.
    Could you help to show me where to get the result of DNS, FTP probe (number of disconection, timeout, no connection ...) or this is a bug?
    Thanks

    To get the MOS score i'm using this:
    1.3.6.1.4.1.9.9.42.numberoftheoperation   and then you must divide it by 100
    "ip sla monitor 1"  the operation number is 1

  • Problem while sign in to In-browser Editing website and encountered "The FTP operation is taking too long"

    I tried to sign in to my Muse website via Adobe® Muse™ CC In-Browser Editing to edit my website with In-browser editing. But it keeps show me
    I have done these steps:
    Installed fresh Muse CC 2014
    Verify enable "In-browser Editing" in site's properties.
    No warning while I upload my website to hosting
    The program tell me succeed in upload website to hosting
    I can access my website via common URL address
    I double checked my FTP account which is the same that I used to sign in to In Browser Editing.
    In your suggestion: "check with your hosting provider."
    The information is not specific and almost hosting provider don't know how to deal with this "Muse" things.
    Question is:
    What info I have to tell hosting provider? Should it be "My Muse website cannot be login by In-browser editing"?
    Is there anything I can check and tell you or my hosting provider to solve this problem?
    Is it possible that some server configuration prevent In-browser Editing website to access the remote Muse website?

    I tried to sign in to my Muse website via Adobe® Muse™ CC In-Browser Editing to edit my website with In-browser editing. But it keeps show me
    I have done these steps:
    Installed fresh Muse CC 2014
    Verify enable "In-browser Editing" in site's properties.
    No warning while I upload my website to hosting
    The program tell me succeed in upload website to hosting
    I can access my website via common URL address
    I double checked my FTP account which is the same that I used to sign in to In Browser Editing.
    In your suggestion: "check with your hosting provider."
    The information is not specific and almost hosting provider don't know how to deal with this "Muse" things.
    Question is:
    What info I have to tell hosting provider? Should it be "My Muse website cannot be login by In-browser editing"?
    Is there anything I can check and tell you or my hosting provider to solve this problem?
    Is it possible that some server configuration prevent In-browser Editing website to access the remote Muse website?

  • Configure the Database for FTP in an OWB workflow

    I want to use the ftp-operator in an OWB-Workflow. I want to use a script, that is managed in the owb itself.
    I configure the ftp operator in this way:
    COMMAND: /usr/bin/ftp (i can start the command at the command line)
    PARAMETER_LIST: ?"${Task.Input}"?
    SUCCESS_THRESHOLD: 0
    SCRIPT: [my with the ftp Commands]
    After the execution of the workflow i get the error message: "/usr/bin/ftp -n: not found"
    in Runtime Audit Browser
    Does anybody know what i have to do to get the ftp operator running?
    The operating system of the database server is HP UX.
    Thanks in advance
    Alexander

    Hi,
    why do you want to use ftp? As against going directly to the source database? (So much faster and easier). I haven't used ftp since the last century.
    Regards,
    Donna

  • [ASK] Search Spec  Siebel Operation Step in Workflow

    Hi all,
    i have a question about search spec in Siebel operation.
    in workflow i have one siebel operation with method Query and the BC is EBC.
    in my EBC there is one column named Period that contaid date formated data.
    my requirement is, i need to get the record where the month in column Period is now Today() month -1
    example is today is 1^st August so the record will siebel select is all the Period in Month July.
    how the searchspec should i write?
    thanks and regards
    Willy Chiandra

    You can try something with JulianMonth, as described in: Querying a Date Field's Month, Day, or Year Value [ID 475570.1]
    1.To extract the Opportunities that has a close date in the past month:
    JulianMonth([Close Date]) = JulianMonth(Today()) - 1
    Beacuse it's a EBC you have to test and see if there is not a big performance impact.

  • How do I stop DW CS6 randomly changing file permissions via FTP?

    How do I stop Dreamweaver CS6 12.0.1.5842 randomly changing file permissions when it uploads files to my web server via FTP.
    I can no longer trust Dreamweaver to upload websites correctly as it changes permissions on some files which then deny the server access to the file which in turn makes the webpage unreachable/return a 403 error.
    This is driving me insane.
    I'm using an early 2011 Macbook Pro 10.7.5.

    Hi,
    I'm having this problem too. Has Adobe fixed the issue yet? This appears to be an Adobe problem, not all the web hosts out there. CS6 is ramdomly (meaning: not every time) changing permissions on files uploaded with it and is not usable for web work until this problem is fixed by Adobe or a solution is provided. If I wanted to use a separate FTP program I would not have recommended that my employer buy multiple Adobe CS6 product licenses. One of the primary appeals of DW is the integration of FTP into the workflow.
    I am using a destop iMac2.8 GHz Intel Core 2 Duo, 4 gigs of 800 MHz DDR2 SDRAM.
    OSX 10.7.5
    I am using DW Version 12 Build: 5808
    Dreamweaver CS4 that I was using until this new purchase was working just fine. No file permisssion changes. I am being forced to go back to using it until Adobe posts a fix for this.
    I should ask while I'm here: has anyone found a solution for this yet?
    Thanks,
    -c-

  • SSIS - Getting the detailed error message from a FTP Task

    Greetings all,
    I'm working on a SSIS package that pulls a file down from an FTP server, then has its way with it.
    Under expected conditions, everything is working perfectly. However, I never want to download the same file twice. In order to enforce this, I just set the OverWriteFileAtDest option to false. Obviously, if the file has already been brought over, the package
    fails. This is the intended functionality.
    However, in such a case I want to handle the error separately. Now, when I setup a EventHandler to deal with it, the error message that's passed over is:
    "Error: An error occurred in the requested FTP operation"
    Oh joy. Ambiguity at its finest. However, the detailed description is:
    "Receiving file "/server/folder/file.XLS". File "\\server\folder\file.XLS" already exists.
    Try as I might, I can't seem to capture the detailed error message so that I can act on it. I'm looking for a way to capture this info, pass it to an expression, and then handle it from there.
    Thanks!

    Did you try enabling logging for the package and capturing it in SQL table which case you should get error messages in sysssislog table
    http://msdn.microsoft.com/en-IN/library/ms186984(v=sql.110).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Problem in FTP adapter ( Duplicate)

    Hi all,
    We have a composite that query the events from Oracle on demand CRM. Event contains key column which is used to fetch all related values.
    Using FTP adapter, we are placing the file in SAP and also one copy using file adapter in our local server for our reference.
    Problem :
    SAP is receiving two files in their inbound folder at same time stamp for one transaction.
    But in our local server, we are receiving one file only.
    So we isolated the problem to FTP adapter.
    When we analyzed the process and its audit trail, everything looks fine and FTP operation is called one time only.
    We are clueless regarding this problem.
    Also same interface works well in Production instance. We even tried deploying new composite that is freshly downloaded from Production.
    We need this to fix this by Wednesday as UAT begins in Test environment and that needs this interface to work fine.
    We have clustered environment and 2 SOA servers.
    Please someone help us identifying the problem. Its very urgent
    Thanks,
    Sundar

    Hi it may be the problem with the environment. Try adding the property <property name ="singleton">true</property name> in the composite.xml for the FTP adapter or at the server level.
    Swami

  • How to handle FTP request in Servlet

    Hi,
    can anyone tell me how to handle FTP operations in Servlet? I mean to ask whether we can handle FTP request in Servlet.
    Thanks
    Subs

    Your servlet should extend from GenericServlet and not HttpServlet to handle ftp requests.

  • Need to send an email (after the FTP adapter does the transfer)

    I have a simple ESB project. It uses FTP adapter to pick a file and encrypt it (by using a webservice) and then transfers that
    file to a different server. As mentioned FTP (SFTP) adapter is used to do this.
    After the file is transfered ( by using the PUT mode of the FTP adapter) , i
    need to send an email to a given address telling about the succes of the file
    transfer. But the problem is I can not link or attach a router to FTP adapter
    in PUT Mode. A FTP adapter in Get mode comes with a Router but a FTP adapter
    with PUT mode does not come with a router. How can I attach a router (or a web
    service to a FTP adapter which is in PUT mode)
    Prakash

    I'm fairly certain you'll have to use BPEL to accomplish this. I'd put the FTP Adapter inside a BPEL process then you can drop the email activity in after the ftp operation.

  • FTP task runs fine from SSIS Package Store, always times out in scheduled job

    SQL Server 2012
    VS 2010 SQL Server data tools
    FTP Connection Manager
     - port 21, chunk size 1kb, passive mode=false, saved plain text pw
    Downloads 1 csv file to local directory on SQL Server box
    This always works when run from the package.  And always gives a timeout error when scheduled.
    Message
    Microsoft (R) SQL Server Execute Package Utility
    Version 11.0.2100.60 for 64-bit
    Started:  11:04:59 AM
    Error: 2014-03-27 11:05:31.12
       Code: 0xC001602A
       Source: xxx Connection manager "FTP Acme1"
       Description: An error occurred in the requested FTP operation. Detailed error description: The operation timed out
    End Error
    Error: 2014-03-27 11:05:31.14
       Code: 0xC002F304
       Source: Acme FTP Task
       Description: An error occurred with the following error message: "An error occurred in the requested FTP operation. Detailed error description: The operation timed out".
    End Error
    DTExec: The package execution returned DTSER_FAILURE (1).
    Started:  11:04:59 AM
    Finished: 11:05:31 AM
    Elapsed:  31.949 seconds
    SQL Server Agent is set to Logon As my domain account, and in the package history it says "logged on as " my account.
    Any suggestions?  Thank you

    You're right, Arthur. Earlier when I tried running the package with dtexecui it did popup a Win7 firewall warning. Agreed with prompt to allow "SQL Server 2008 Integration Services Package Execution Utility" and it added C:\program
    files (x86)\microsoft sql server\110\tools\binn\managementstudio\dtexecui.exe,  to allowed programs. No problem with dtexec after that.
    Do you know of any other firewall exceptions that would be good to try?  Thanks!
    Yeah, this pop up resulted in the timeout because it was hidden but awaiting acknowledgement.
    The other thing off the top of my head would be the FTP port 21 if TCP is used.
    Arthur My Blog

Maybe you are looking for