Ftp persistant problem

I'm hoping that someone might be able to solve the folowing problem for me which has become a real puzzle! I have two web sites hosted with '1 and 1' under the same root folder say /A and /B. Access to the two sites is with the same user name and password. If I wish to upload website B with Dreamweaver there is no problem. However trying the same with website A has always given the following  message “An FTP error occurred – cannot make connection to host. Your login or password is incorrect. Please check your login information” . In this case I use Fetch to upload site A using the same user name and password with no problem. I am now using my third version of Dreamweaver CS5 on an intel Mac runnning 10.5.8 (both of which are new) and was hoping that this problem would be solved; however the problem persists.
I do not think the proble lies with '1 and 1' since Fetch works without any problem. My version of Dreamweaver and the computer are new so no problem with these. I am not behind a firewall working from home. I have tried changing my password and the name of the folder /A; all to no avail. Is the problem somehow within the website A ? Can anyone help please!

I'm sorry but you appear to be a business user and the is a forum for BT residential customers.  there is a business forum who may be able to help you http://business.forums.bt.com/
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

Similar Messages

  • Persistant problems with FF 27.0.1 on Windows 7/64

    I seem to have a persistent problem with Firefox 27.0.1 and my MSN homepage. When I open FF, it takes me to both my Outlook Mail page and My MSN pages in two separate tabs. Outlook Mail had a problem taking my correct password, but that issue seems to have resolved itself (I did clear all cookies and caches related to the website). But My MSN is still giving me this message...
    "The page you have requested cannot be found.
    The web page you were attempting to view may not exist or may have moved — try checking the web address for typos."
    I tried the same thing as I did with Outlook (deleted cookies and caches), but the problem persists. I disabled all plugins, and still no luck. The MSN Homepage comes up, and I'm shown as logged into My MSN, but when I click the My MSN link, I get the "The page you have requested..." message.
    Another issue relating to both websites is password remembering. FF will NOT ask to remember the passwords for those sites. I have Remember Passwords box checked in Settings and it does for other sites, but not my Homepage(s). Clearing cookies/caches didn't help, and the password is not listed in the Remembered Passwords page of Settings.
    Finally, Firefox on my home laptop (Windows 7/64 as well) freezes and crashes a lot, as well as displayes a warning there is something with Flash, which I have updated many times over.
    I used to use Internet Explorer as a browser exclusively until I started having problems with certain websites not allowing me to log in. I realized it was not the website, but some incompatibility with IE. I started using Firefox, and fouind no problems, and heard it was more secure and easier to configure than Internet Explorer anyway. But since these problems started occurring (especially with NO way for me to log onto My MSN), I have to go back to using IE (except for select website logons), which is disappointing :-(.

    About your home page; Manually set up Firefox with the window(s) and tab(s)
    the way you want them to be. Then;
    '''''Firefox Options > General > Homepage'''''.
    Press the button labeled ''''Use Current'''.'
    =====================================
    Open a new window or tab. In the address bar, type '''''about:config'''''.
    If a warning screen comes up, press the '''''Be Careful''''' button.
    This is where Firefox finds information it needs to run.
    At the top of the screen is a search bar. Enter '''''browser.newtab.url'''''
    and press enter. '''''browser.newtab.url'''''
    tells Firefox what to show when a new tab is opened.
    If you want, right click and select '''''Modify'''''. You can change the
    setting to;<BR><BR>about:home (Firefox default home page),<BR>
    about:newtab (shows the sites most visited),<BR>
    about:blank (a blank page),<BR>
    or you can enter any web page you want.<BR><BR>
    The same instructions are used for the new window setting, listed as
    '''''browser.startup.homepage'''''.

  • FTP receiver problem

    Hello,
    I have read lots of threads for FTP receiver problems wiht overwriting files....
    But I am not sure which is the correct solution.
    We have:
    - Cluster (6nodes), PI711  (SP03)
    - a time stamp shoudl be in the file name
    - there is dynamice filename, because first char of the filename must be set from mapping
    - each mesasge must be put in a single file (not APPEND mode)
    After few test it seems that files are overwriten.
    I tried ADD MESSAGEID, which seems to work correctly, but with dynamic filenametimestampmsgid the filename is to long for the next application.
    I saw in a note, that the cluster can be the problem....
    Any idea how I can solve my problem?
    Does "use temporaly filename" help?
    How is it used correctly????
    best reagrds
    Werner

    Hi Werner,
    In Processing Parameters tab, keep the file construction mode as "Add timestamp" and in the Putfile use" Use Temporary file". This should help you...
    Refer the below link regarding Configuring the Receiver FTP Adapter 
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/69d7cfa4b633eae10000000a1553f6/content.htm
    Thanks,

  • Getting file from ftp server problem.

    Anyone can tell me what's wrong with my code.
    I try to get Test.txt from my ftp server with this coding :
    public class FTPClient{
    public static final void main(String[] args) throws Exception
    {   try {
    URL url = new URL("ftp://user:password@myhost:21/MyFiles/Test.txt");
    URLConnection c = url.openConnection();
    BufferedReader r = new BufferedReader(new InputStreamReader(c.getInputStream()));
    String l = null;
    while ( (l = r.readLine()) != null)
    System.out.println(l);
    catch (Exception e)
    System.out.println("Uh oh, got an IOException error!");
    e.printStackTrace();
    But i get the following error :
    sun.net.ftp.FtpProtocolException: PORT :
    at sun.net.ftp.FtpClient.openDataConnection(FtpClient.java:435)
    at sun.net.ftp.FtpClient.get(FtpClient.java:550)
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:382)
    at FTPClient.main(FTPClient.java:8)
    Can somebody help me,
    What's worng with my coding..?
    Thanks,

    I delete the :21 from my code but the same error occured.
    I also try this code
    FtpClient ftpClient = new FtpClient();
    String host ="10.10.10.237";
    String username="username";
    String password="password";
    try
    ftpClient.openServer(host); // connect to FTP server
    ftpClient.login(username, password); // login
    ftpClient.cd("TestFTP");
    ftpClient.binary();
    InputStream is = ftpClient.get("Test.txt");
    ftpClient.closeServer(); //close connectionand I got the same error
    sun.net.ftp.FtpProtocolException: PORT :
    at sun.net.ftp.FtpClient.openDataConnection(FtpClient.java:435)
    at sun.net.ftp.FtpClient.get(FtpClient.java:550)
    at Client.main(Client.java:19)
    I dont know what is the problem.. I've try to find information about this error on the net, but cannot find anything that can help me...

  • Business Objects Enterprise 11.5 FTP Transfer Problem

    Hello,
    Hopefully someone out there will be familiar with the issue I'm having and be able to provide a solution.
    We are running Business Objects Enterprise 11.5 on our Windows 2003 server.  I've created and scheduled a job on the server that creates an XLS file containing loan portfolio data that is to be transmitted to a third party client on a monthly basis.
    The problem centers around the method of transfer, which is via FTP to a secure site hosted by the client.  When executed through Crystal, the FTP actually does achieve a successful login using the credentials the client provided (we have verified this repeatedly by looking at the logs), but the client's server "kicks out" when we attempt any operation on it.
    A similar result was produced when we attempted to FTP to the site via the Windows command line.  The login was successful, but even a simple command to view the directory "dir" resulted in the connection being rejected.   To make a long story short, after reviewing the issue extensively with the client's technical department, our conclusion was that the problem was the result of the FTP sending in "active" mode instead of "passive".  We confirmed this by installing a freeware FileZilla on the same server, and switching between active and passive modes (active failed, passive did not).
    Their tech people recommended that we contact SAP to get answers to two questions, which I'm hoping someone out there may know:
    1)  How does Business Objects Enterprise 11.5 execute the FTP process?  Is it using its own native logic or simply invoking the command line?
    2)  Is there any setting with the console that would enable us to modify the FTP settings to send force it to send in passive mode?
    Thanks.

    Hi,
    This is a known limitation. BO only supports active mode for FTP. Refer 1782115 - Which FTP mode is supported as a schedule or publication destination for reference.
    If you are able to write a batch file or a program object to transfer a file from a file location to Client FTP, you can try the below workaround.
    1. Add the script\batch file as a program object in BO. In the script make sure you include the code to delete the instance after it is successfully transmitted through FTP.
    2. Create a File event pointing to the location along with the name of the instance.
    3. Schedule the report to the file location with the specific instance name.
    4. Schedule the program object based on the file event you created in step 2.
    Hope this helps.
    Regards
    Chinmaya

  • Help with ftp upload problem

    Hi I am using a ftp class (known as FTPConnection) that i found on this site: http://www.nsftools.com/tips/JavaFtp.htm , and they only have an example of how to download a File through FTP and not upload one. I am in the proccess of making an FTP upload applet, and need some help on getting upload to work. I also need it to work on both a Pc and mac, so that may be attributing to the problem becuase i am currently on a mac which uses file:// instead of C:\\. Ill post the ftp class, and a snippet of my code that tries to upload a selected file.
    FTPConnection
    /* <!-- in case someone opens this in a browser... --> <pre> */
    * File:   FTPConnection.java
    * Author: Bret Taylor <[email protected]>
    * URL: http://www.stanford.edu/~bstaylor/cs/ftpconnection/FTPConnection.java.shtml
    * see also <a href="http://www.nsftools.com/tips/JavaFtp.htm">http://www.nsftools.com/tips/JavaFtp.htm</a>
    * $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.
    * Modified by Julian Robichaux -- http://www.nsftools.com
    * Added constructors, logout(), listFiles(), listSubdirectories(), getAndParseDirList(),
    * processFileListCommand(), and overloaded getFullServerReply().
    * Also added StringBuffer parameter options to transferData() and executeDataCommand()
    * and did a few other little things.
    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
    * <a href="#executeCommand(java.lang.String)">executeCommand</a> and
    * <a href="#executeDataCommand(java.lang.String,
    * java.io.OutputStream)">executeDataCommand</a>,
    * the latter of which is used for commands that require an open data port.</p>
    * @author Bret Taylor
    * @author Julian Robichaux
    * @version 1.01
    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;
         * The socket through which we are connected to the FTP server.
        private Socket connectionSocket = null;
         private String username;
         private String password;
         private String host;
         * 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;
         * Added by Julian: If this flag is on, we're currently logged in to something.
        private boolean loggedIn = false;
         * Added by Julian: This is the line terminator to use for multi-line responses.
        public String lineTerm = "\n";
         * Added by Julian: This is the size of the data blocks we use for transferring
         * files.
        private static int BLOCK_SIZE = 4096;
         * Added by Julian: After you create an FTPConnection object, you will call the
         * connect() and login() methods to access your server. Please don't forget to
         * logout() and disconnect() when you're done (it's only polite...).
        public FTPConnection ()
             // default constructor (obviously) -- this is just good to have...
         * Added by Julian: Allows you to specify if you want to send debug output to
         * the console (true if you do, false if you don't).
        public FTPConnection (boolean debugOut)
             PRINT_DEBUG_INFO = debugOut;
         public FTPConnection (String user, String pw, String host_)
             username=user;
              password=pw;
              host=host_;
              PRINT_DEBUG_INFO = false;
         * 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);
         * Connects to the given FTP host on port f, 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);
              connectionSocket.setSoTimeout(10000);
            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.
         static boolean URLexists(String URLName)
              try
                   HttpURLConnection.setFollowRedirects(false);
                   // note : you may also need
                   // HttpURLConnection.setInstanceFollowRedirects(false)
                   HttpURLConnection con =
                   (HttpURLConnection) new URL(URLName).openConnection();
                   con.setRequestMethod("HEAD");
                   return (con.getResponseCode() == HttpURLConnection.HTTP_OK);
              catch (Exception e)
                   e.printStackTrace();
                   return false;
         public String getSimpleFileName(File f)
              String path=f.getPath();
              String fileName=path.replace("\\", "/");
              int slashPos = fileName.lastIndexOf("/");
              fileName=fileName.substring(slashPos+1);
              return fileName;
         public String verifyFileName(String name)
              int count=0;
              //String url="http://chris-malcolm.com/images/"+URLEncoder.encode(name).replace("+", "%20");
              while (URLexists("http://chris-malcolm.com/images/"+URLEncoder.encode(name).replace("+", "%20"))==true)
              count++;
              name=FileExt(name)[0]+"-"+count+"."+FileExt(name)[1];
              return name;
         public String[] FileExt(String fileName)
            int dotPos = fileName.lastIndexOf(".");
              fileName=fileName.replace("\\", "/");
              int slashPos = fileName.lastIndexOf("/");
              String extension, name;
              if (slashPos==fileName.length()-1)
                   fileName=fileName.substring(0, fileName.length()-1);
                   slashPos=fileName.lastIndexOf("/");
                   extension="/";
                   name=fileName.substring(slashPos+1);
              else if(dotPos==-1)
                   name=fileName.substring(slashPos+1);
                   extension="";
              else
                   extension = fileName.substring(dotPos+1);
                   name=fileName.substring(slashPos+1, dotPos);
                   String[] output={name, extension};
                   return output;
              String[] output={name, extension};
              return output;
        public void disconnect()
            if (outputStream != null) {
                try {
                      if (loggedIn) { logout(); };
                    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);
            loggedIn = isPositiveCompleteResponse(response);
            return loggedIn;
         * Added by Julian: Logout before you disconnect (this is good form).
        public boolean logout()
            throws IOException
            int response = executeCommand("quit");
            loggedIn = !isPositiveCompleteResponse(response);
            return !loggedIn;
         * 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;
         * Added by Julian: Returns the last line of the server reply, but also
         * returns the full multi-line reply in a StringBuffer parameter.
        private String getFullServerReply(StringBuffer fullReply)
             throws IOException
            String reply;
            fullReply.setLength(0);
            do {
                reply = inputStream.readLine();
                debugPrint(reply);
                fullReply.append(reply + lineTerm);
            } while(!(Character.isDigit(reply.charAt(0)) &&
                      Character.isDigit(reply.charAt(1)) &&
                      Character.isDigit(reply.charAt(2)) &&
                      reply.charAt(3) == ' '));
              // remove any trailing line terminators from the fullReply
              if (fullReply.length() > 0) 
                   fullReply.setLength(fullReply.length() - lineTerm.length());
            return reply;
         * Added by Julian: Gets a list of files in the current directory.
         public String listFiles()
              throws IOException
              return listFiles("");
         * Added by Julian: Gets a list of files in either the current
         * directory, or one specified as a parameter. The 'params' parameter
         * can be either a directory name, a file mask, or both (such as
         * '/DirName/*.txt').
         public String listFiles(String params)
              throws IOException
              StringBuffer files = new StringBuffer();
              StringBuffer dirs = new StringBuffer();
              if (!getAndParseDirList(params, files, dirs))
                   debugPrint("Error getting file list");
              return files.toString();
         * Added by Julian: Gets a list of subdirectories in the current directory.
         public String listSubdirectories()
              throws IOException
              return listSubdirectories("");
         * Added by Julian: Gets a list of subdirectories in either the current
         * directory, or one specified as a parameter. The 'params' parameter
         * can be either a directory name, a name mask, or both (such as
         * '/DirName/Sub*').
         public String listSubdirectories(String params)
              throws IOException
              StringBuffer files = new StringBuffer();
              StringBuffer dirs = new StringBuffer();
              if (!getAndParseDirList(params, files, dirs))
                   debugPrint("Error getting dir list");
              return dirs.toString();
         * Added by Julian: Sends and gets the results of a file list command,
         * like LIST or NLST.
        private String processFileListCommand(String command)
            throws IOException
            StringBuffer reply = new StringBuffer();
            String replyString;
            // file listings require you to issue a PORT command,
            // like a file transfer
              boolean success = executeDataCommand(command, reply);
              if (!success)
                   return "";
            replyString = reply.toString();
            // strip the trailing line terminator from the reply
            if (reply.length() > 0)
                 return replyString.substring(0, reply.length() - 1);
            }  else  {
                 return replyString;
          * Added by Julian: Gets a directory list from the server and parses
          * the elements into a list of files and a list of subdirectories.
         private boolean getAndParseDirList(String params, StringBuffer files, StringBuffer dirs)
              throws IOException
              // reset the return variables (we're using StringBuffers instead of
              // Strings because you can't change a String value and pass it back
              // to the calling routine -- changing a String creates a new object)
              files.setLength(0);
              dirs.setLength(0);
              // get the NLST and the LIST -- don't worry if the commands
              // don't work, because we'll just end up sending nothing back
              // if that's the case
              String shortList = processFileListCommand("nlst " + params);
              String longList = processFileListCommand("list " + params);
              // tokenize the lists we got, using a newline as a separator
              StringTokenizer sList = new StringTokenizer(shortList, "\n");
              StringTokenizer lList = new StringTokenizer(longList, "\n");
              // other variables we'll need
              String sString;
              String lString;
              // assume that both lists have the same number of elements
              while ((sList.hasMoreTokens()) && (lList.hasMoreTokens())) {
                   sString = sList.nextToken();
                   lString = lList.nextToken();
                   if (lString.length() > 0)
                        if (lString.startsWith("d"))
                             dirs.append(sString.trim() + lineTerm);
                             debugPrint("Dir: " + sString);
                        }  else if (lString.startsWith("-"))  {
                             files.append(sString.trim() + lineTerm);
                             debugPrint("File: " + sString);
                        }  else  {
                             // actually, symbolic links will start with an "l"
                             // (lowercase L), but we're not going to mess with
                             // those
                             debugPrint("Unknown: " + lString);
              // strip off any trailing line terminators and return the values
              if (files.length() > 0)  {  files.setLength(files.length() - lineTerm.length());  }
              if (dirs.length() > 0)  {  dirs.setLength(dirs.length() - lineTerm.length());  }
              return true;
         * 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());   
         * Added by Julian: Executes the given ftpd command on the server
         * and writes the results returned on the data port to the given
         * StringBuffer, returning true if the server indicates that the
         * operation was successful.
        public boolean executeDataCommand(String command, StringBuffer sb)
            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, sb);
            // Clean up the data structures
            in.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[BLOCK_SIZE];
            int amount;
            // Read the data into the file
            while ((amount = in.read(b)) > 0) {
                out.write(b, 0, amount);
         * Added by Julian: Transfers the data from the given input stream
         * to the given StringBuffer until we reach the end of the stream.
        private void transferData(InputStream in, StringBuffer sb)
            throws IOException
            byte b[] = new byte[BLOCK_SIZE];
            int amount;
            // Read the data into the StringBuffer
            while ((amount = in.read(b)) > 0) {
                sb.append(new String(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-5

    ok i tried explaining th eproblem in the previous post, but i apologize if my explanation was poor. anyways, i tried to look into it further by doing a printStackTrace() and believe it may be a read error. here is my new updated snippet, and also a link to a screenshot ([click here for screenshot|http://img143.imageshack.us/my.php?image=picture4qr0.png]) of what the error looks like on my end. it seems like a socket is not being read, or maybe it is initialized properly. Again I apologize if my problem is vague, but I do appreciate your input. thanks.
    updated code snippet
    public void uploadFiles()
              statusLabel.setVisible(true);
              errorLabel.setVisible(true);
              uploadButton.setVisible(false);
              footer.setVisible(false);
              holdingPanel.setVisible(false);
              pbar.setVisible(true);
              pbar = new JProgressBar();
              pbar.setMinimum(0);
              float Total=0;
              for (int i=0; i<fileLengths.size(); i++)
                   if(((java.lang.Boolean)model.getValueAt(i,1)).toString().equals("true"))
                        Total+=Float.parseFloat((String)fileLengths.get(i));
              pbar.setMaximum((int)Total);
              String info="";
              try
                   ftp=new FTPConnection(false);
                   ftp.connect("ftp.chris-malcolm.com");
                   if (ftp.login("chrismal", "***"))
                        statusLabel.setText("Status: Connected.");
                        info+="Successfully logged in!\n";
                        info+="System type is: " + ftp.getSystemType()+"\n";
                        info+="Current directory is: " + ftp.getCurrentDirectory()+"\n";
                        if (ftp.changeDirectory("/www/images/"))
                             info+="directory changed to: " + ftp.getCurrentDirectory()+"\n";
                                                 try
                             for (int i=0; i<allFiles.size(); i++)
                                  if(((java.lang.Boolean)model.getValueAt(i,1)).toString().equals("true"))
                                       String f=client.verifyFileName((String)model.getValueAt(i,0));
                                       String f2=""+((File)allFiles.get(i)).getPath();
                                       info+="filename: "+f2+"\n";
                                       if (ftp.uploadFile(f2))
                                            statusLabel.setText("Status: Uploading "+f+" - "+i+" of "+calculateTotalFiles()+" files(s)");
                                            pbar.setValue(Integer.parseInt((String)fileLengths.get(i)));
                                       else
                                            errorLabel.setText("Error occured while uploading"+f2+"\n");
                        catch(Exception de) 
                             StringWriter sw = new StringWriter();
                                  PrintWriter pw = new PrintWriter(sw);
                                  de.printStackTrace(pw);
                                  pw.close();
                                  //errorLabel.setText("<html>ERROR:"+sw.toString().replace("\n", "<br>")+"</html>");
                                  info+="Error: "+de.getMessage()+"\n";
                                  info+="Trace: "+sw+"\n";
                             try { ftp.disconnect(); statusLabel.setText("Status: disconnected.");}  catch(Exception e2)  {};
                        else
                             info+="could not change directory\n";
                   else
                        info+="could not login";
              catch (Exception e)
                   StringWriter sw = new StringWriter();
                                  PrintWriter pw = new PrintWriter(sw);
                                  e.printStackTrace(pw);
                                  pw.close();
                                  info+="Error: "+e.getMessage()+"\n";
                                  info+="Trace: "+sw+"\n";
                   try { ftp.disconnect();  statusLabel.setText("Status: disconnected.");}  catch(Exception e2)  {};
              errorLabel.setText("ERROR:"+info);
              JOptionPane.showMessageDialog(this, info, "test", JOptionPane.PLAIN_MESSAGE);
              try { ftp.disconnect(); statusLabel.setText("Status: disconnected.");}  catch(Exception e2)  {};
         Edited by: cjm771 on Jul 13, 2008 7:23 PM

  • FTP Adapter Problem

    Hi,
    I am using the FTP adapter to transfer a file from a remote machine and am getting this exception.
    java.lang.NoClassDefFoundError: oracle/security/pki/OraclePKIProvider
    at oracle.tip.adapter.ftp.FTP.connect(FTP.java:438)
    at oracle.tip.adapter.ftp.FTPClient.establishFtpSession(FTPClient.java:169)
    at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:597)
    at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:269)
    at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
    at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:210)
    at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:116)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
    at java.lang.Thread.run(Thread.java:534)
    Any ideas?
    Thanks
    -G

    Clemens,
    It's very nice to know that guys like you are here to help people like me. I develope the same BPEL Project on a stand alone windows installation (BPEL Server 10.1.2.0.2) a Works perfectly.
    I'm sure know the problem resides on the BPEL Server or the OAS. Besides updating the BPEL Server version what order suggestions do you have in mind????
    What do you think about OAS R3??? Is it trusted to upgrade to R3 now????
    Thank very much for your time.
    Cordially,
    Jose
    Mensaje editado por:
    user489282

  • FTP adapter problems

    Hi all,
    I'm having some problems with the FTP adapter.
    About two months ago I did an ESB project which reads from an FTP and writes the files in a local directory.
    I noticed that I had to change this parameter oracle.tip.adapter.file.numProcessorThreads=1 in the integration\esb\config\pc.properties.esb en integration\esb\config\ pc.properties file, for the FTP adapter to work all right. And it has been working for a long time.
    The issue is, that now, I deploy this same ESB project to the same server and is not working. No files are being copied to my local directory. Furthermore, there are no instances in the ESB Control either.
    I haven't changed anything so I don't understand why this is happening.
    I set the log trace to FINEST and I found this trace for a lot of files in the log:
    JCA: Poller enqueuing file for processing :/200704110041_r01g0020.gif
    JCA: Ignoring File : 200704110041_r01g0020.gif as it is already enqued for processing.
    So, there are no errors showing in the log but the adapter is not working.
    Any tips about this? It is very important because we have to put this project in the production machine....
    Thanks for your help.
    Message was edited by:
    Zaloa

    Hi Mark,
    Thank you for your response, I have post the service request already. So far, I haven't got any answers and I have been trying to deploy this same project in different servers.
    I get different results everytime without changing anything. In the test environment I just get the first error I post in this thread. In my local server I get a fatal error that I have already reported in this forum with the subject "FatalError FTP Adapter", and I write it here again.
    JCA: Completed inbound translation for : 200704021141_r01g1120.gif
    JCA: Did not publish file {200704021141_r01g1120.gif} as endpoint has been de-activated.
    JCA: Processer thread calling onFatalError with exception Error al publicar el mensaje.
    Se ha producido un error al publicar el mensaje del archivo /200704021141_r01g1120.gif (Error publishing the file message....)
    Compruebe la pila de errores y corrija la causa del error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede
    corregir el error. (Check error stack and fix the error. Contact Oracle Support Services if the error can not be fixed)
    JCA inbound adapter service listener for "SUBIRA.INM.ConsultaFTP_RS.Get" with endpoint ID "[Get_ptt::Get(opaque)]" has been requested
    to shutdown by Resource Adapter due to fatal error. Reason : ORABPEL-11004
    Error al publicar el mensaje. (Error publishing the message)
    Se ha producido un error al publicar el mensaje del archivo /200704021141_r01g1120.gif (An error has occurred publishing the file....)
    Compruebe la pila de errores y corrija la causa del error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede
    corregir el error. (Check error stack and fix the error. Contact Oracle Support Services if the error can not be fixed)
    Any ideas? Thanks in advance,
    Zaloa

  • BPEL FTP Adapter problems

    Hi!
    I have two problem using the FTP Adapter in a BPEL process.
    The first can be described as follow: I have a BPEL process that incapsulates the FTP Adapter and it is deployed correctly on the BPEL default domain. It's working fine in a normal context with no error. Now I want to simulate a "read FTP Server" crash; so I put the FTP Server from which I'm reading off-line. When the GET module of the FTP Adapter tries to poll the server, it generates a Null Pointer Exception and on the server command window I can read, after a while, that the process state will be set to OFF. But when I enter in the console I always see the state ON! But the interesting question is: is there an automatic way to recovery the process and to restart it? I see that in the domain parameter there are two values: rcvAgentDelay (7200) and rcvThreshold (600). I tried to set them to some other values, for example (120) and (10), but the process still remains "blocked" and no new polling seems to happen.
    The second problem is about the creation and the deploying on a new domain. I create a new domain called "bulk" and I tried to deploy my process on it but I can't do it due to the generation of many exception! Can I deploy a process with a FTP Adapter component inside on a domain different from the default one? And if the response is positive, like I think, can you summarize the most important steps of it and if I must configure some specific domain parameters?
    Thanks a lot,
    Busnelli.

    OK, firstly I want to thank both of you, Rakesh and Maneesh.
    Here are the details requested:
    Operation System = Windows XP Pro SP2
    BPEL Process Manager = 10.1.2
    BPEL Server version = 2.2 (build 1361)
    JDeveloper version = 10.1.2 (build 1811)
    BPEL Designer version = 10.1.2 (build 050322)
    Usually after any modification I'm used to restarting the BPEL server.
    Today I have downloaded the "Oracle JDeveloper 10g (10.1.3) - Developer Preview" (I think to be the Post Beta 3) and as soon as possible I will try to use it.
    Thanks to both!

  • Tabs in navigation page (Tabs persistance problem)

    Hello all,
    I'm looking for a workaround of tab persistence (the problem in post URGENT! TAB + Folder navigation Problem )
    ; is it possible, somehow, to make a navigation page with tabs, and in those tabs some kind of auto-redirection to the actual pages ? Or any other way using tabs? I just want to avoid image-map style navigation. This tab persistance feature is sooo anoying...
    Please help

    Hello
    I gave it up using tabs for navigation issue. There are too many problems with that. Now I'm using URL-items within navigation pages and that works fine...
    Cheers,
    Chrigel

  • Persist problem pls help me.

    guys sorry to ask that but i could not find such an error on web.
    my problem is,
    i persist an object
    than delete this object
    and try again to persist it..
    here we go.. you attempted to persist a detached object any help?

    Hello, ty for your concern.
    Exception Description: Cannot persist detached object [ENTITY.Course[courseCode=1212]]. Class> ENTITY.Course Primary Key> [1212]
    the same logic in my code works for identity pk's.
    if (xc==0) {
    try{
    int sill=Integer.parseInt(sil);
    Query sds = em.createQuery("delete from Course c where c.courseCode=:cc").
    setParameter("cc", sill);
    em.getTransaction().begin();
    int deleted = sds.executeUpdate();
    em.getTransaction().commit();
    silsonuc="silindi";
    }catch(Exception e) {
    em.getTransaction().rollback();
    if (xc==1) {
    try {
    em.getTransaction().begin();
    Course c=new Course();
    c.setCourseCode(derskod);
    c.setCourseCredit(Integer.parseInt(kredi));
    c.setCourseDEP(new Integer(dep));
    c.setCourseHour(saat);
    c.setCourseName(dersad);
    c.setCourseProgram(program);
    c.setCourseProperty(ozellik);
    c.setDepID(new Department (dep));
    c.setCourseExp("");
    c.setTerm(Integer.parseInt(donem));
    em.persist(c);
    em.getTransaction().commit();
    catch (Exception e) {onay=1;em.getTransaction().rollback();}
    Ty again :)

  • FTP upload problems in CS3

    I'm using CS3 and have multiple sites w/ different servers,
    so I know this is not a server issue, as the problem happens with
    all of my sites. I know my FTP settings are correct as I've been
    using them for ages and haven't changed them. Starting yesterday,
    when I synchronize the local sites w/ the remote sites, everything
    works fine. But when I try to put just the index files, I get this
    type of error message:
    index.html - Put operation successful
    mm_spacer.gif - same - not transferred
    FPlogo.jpg - same - not transferred
    transparent.gif - same - not transferred
    ppalogo.png - same - not transferred
    palogo.png - same - not transferred
    Aug08cover.jpg - same - not transferred
    davincissm.png - same - not transferred
    amtalentsm.jpg - same - not transferred
    coverkids.jpg - same - not transferred
    vadentalsm.jpg - same - not transferred
    kidsnclay.jpg - same - not transferred
    Almy150.png - same - not transferred
    stc2.png - same - not transferred
    youngchefs.png - same - not transferred
    fusionhealth.png - same - not transferred
    wgrq.png - same - not transferred
    Thunder_new.jpg - same - not transferred
    I can put each one of those image files individually or
    during a site synchronization, but not as part of the index file.
    What happened and how can I fix it?

    I have just resolved my Dreamweaver FTP problem.
    For me, it was because Eset (Nod32) was interfering with
    uploading. If you have Nod32 protection, try this (if not, I'll
    have another method after):
    To fix, open ESET Set-Up (via the full tree) and scroll down
    to Personal Firewall > Protocol Filtering >
    In Protocol Filtering, un-check the Enable application
    protocol content filtering option.
    The other way to find out what might be interfering with your
    Dreamweaver's ftp function is turn off all but criticle services
    within your System Configuration (run> msconfig; or Ctrl R).
    FIRST, however, make a note of what items are checked on and that
    are not. Now...
    Select the Services Tab.
    Click "Hide all Microsoft Services"
    Click "Disable all" (but leave on FlexNet Licencing Service,
    along with your fingerprint reader access--if you have it)
    Click OKAY.
    Restart your system.
    If Dreamweaver FTP works, then you'll need to go back into
    MSCONFIG and systematically re-apply services that are not messing
    with your Dreamweaver. You should eventually isolate the problem
    this way.
    Lastly, Adobe has a tech article on Dreamweaver. Go to
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15481&sliceId=1
    That's all I know for now. Good luck.

  • Ftp uploading problem

    I work on a corporate net with CS4. Uploading of sites with ftp is a problem. Is there another way to upload to html folder. I currently have to do design with CS4 DW and publish with Frontpage

    In addition to Lawrences' recommendation I use CuteFTP and have done so for years. I use the commercial version, but there could be a light (free) version still available.  Found it much more reliable than the DW FTP I'm afraid  :-)
    For very basic uploading of static files (haven't tried with dynamic sites), you can use IExplorer (or Firefox for that matter), by typing in ftp://yourdomainurl.com  and entering username and password.   I've used that if I've been away from my wn opc and had to work remotely.
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • SFTP/FTP Proxy Problems - Works for DMZ but not for Internet Hosts?!

    Hi together,
    we have a strange problem with our TMG Proxy, some infrastructure informations first
    So we have the Client LAN with the IP range 192.168.11.x which is routeable to Server LAN 192.168.3.x but not to DMZ LAN 192.168.200.x.. The TMG is a 2 Node Array, 192.168.200.5 is the DMZ VIP. TMG DMZ IP Adress (192.168.200.5) and physical Adresses have
    an NAT relation to one Public IP. HTTPS Inspection is active. We dont use (and dont want to) the TMG Client component.
    When i use WinSCP, Putty or Filezilla and connect to a DMZ LAN Host (192.168.200.x) with "HTTP Proxy" (192.168.3.108:8080) everything is fine, it works like expected...
    When i connect to an Internet Host it fails regardless which protocol i use - ftp, sftp or ssh. The error i get is
    "The token supplied to the function is invalid."
    An example for a failed SFTP Connection
    Filezilla
    Status: Connecting to system.internet.de...
    Trace: Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
    Response: fzSftp started
    Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
    Trace: CSftpControlSocket::SendNextCommand()
    Trace: CSftpControlSocket::ConnectSend()
    Command: proxy 1 "tmg.local" 8080 "domain\user" "***********"
    Trace: CSftpControlSocket::ConnectParseResponse()
    Trace: CSftpControlSocket::SendNextCommand()
    Trace: CSftpControlSocket::ConnectSend()
    Command: open "[email protected]" 22
    Trace: Looking up host "system.internet.de"
    Trace: Connecting to 192.168.3.108 port 8080
    Trace: Proxy error: 502 Proxy Error ( Das Token, das der Funktion übergeben wurde, ist ungültig.  )
    Error: Proxy error: 502 Proxy Error ( Das Token, das der Funktion übergeben wurde, ist ungültig.  )
    Trace: CControlSocket::DoClose(64)
    Trace: CSftpControlSocket::ResetOperation(66)
    Trace: CControlSocket::ResetOperation(66)
    Error: Could not connect to server
    Trace: CFileZillaEnginePrivate::ResetOperation(66)
    TMG protocol throws this
    Protokolltyp: Webproxy (Forward)
    Status: 0x80090308 
    Regel: Webzugriff FTP Test
    Quelle: Intern (192.168.11.31:44673)
    Ziel: Extern (78.46.182.171:22)
    Anforderung: system.internet.de:22
    Filterinformationen: Req ID: 106f1cb7; Compression: client=No, server=No, compress rate=0% decompress rate=0%
    Protokoll: https-inspect
    Benutzer: domain\user
    Hope you can explain me what we doin wrong or how to find out whats the problem. I didn`t find many informations about "0x80090308" or "The token supplied to the function is invalid.". Disabling HTTPS Inspection for the Source 192.168.11.31
    doesnt change anything...
    Connection to an DMZ Host looks like this:
    Filezilla
    Status: Connecting to system.dmz...
    Trace: Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
    Response: fzSftp started
    Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
    Trace: CSftpControlSocket::SendNextCommand()
    Trace: CSftpControlSocket::ConnectSend()
    Command: proxy 1 "tmg.local" 8080 "domain\user" "***********"
    Trace: CSftpControlSocket::ConnectParseResponse()
    Trace: CSftpControlSocket::SendNextCommand()
    Trace: CSftpControlSocket::ConnectSend()
    Command: open "[email protected]" 22
    Trace: Looking up host "system.dmz"
    Trace: Connecting to 192.168.3.108 port 8080
    Trace: Server version: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
    Trace: Using SSH protocol version 2
    Trace: We claim version: SSH-2.0-PuTTY_Local:_Mar_28_2014_10:34:48
    Trace: Doing Diffie-Hellman group exchange
    Trace: Doing Diffie-Hellman key exchange with hash SHA-256
    Trace: Host key fingerprint is:
    TMG Protocol
    Protokolltyp: Webproxy (Forward)
    Status: 0 Der Vorgang wurde erfolgreich beendet. 
    Regel: Webzugriff FTP Test
    Quelle: Intern (192.168.11.31:48818)
    Ziel: Umkreis 2 (192.168.200.205:22)
    Anforderung: system.dmz:22
    Filterinformationen: Req ID: 10727dce; Compression: client=No, server=No, compress rate=0% decompress rate=0%
    Protokoll: SSL-tunnel
    Benutzer: domain\user
    Thanks in advance.
    Regards
    Matthias

    Hi Keith,
    ok i found out the problem is https inspection is enabled....
    - when i disable https inspection for source, same problem
    - when i disable https inspection for destination, problem solved
    the root cause why this worked is we had https inspection disabled for dmz destinations.
    there is no direct route relation between the lan and dmz.
    why is source exception not working in this?

  • FTP transfer problem

    Hi,
    I've created a code that transfer files from a Robot Controller to a PC.
    My code is working, I can see all the files in my computer and I don't have any error from LabVIEW, but the size of the files are not exactly the same.
    We decided to compare the files (binary comparison) with UltraCompare and some bytes are not the same, which cause us big trouble.
    I'm using LabVIEW 2010 SP1.
    You can see in attachment the result from the UltraCompare Software, also the 2 files transfered with CoreFTP and with my LabVIEW code.
    Any ideas why some bytes are not exactly the same?
    Thank you
    Stephanie
    Attachments:
    FTP Problem.zip ‏110 KB

    The FTP VIs are part of the internet toolkit I believe.
    The files you retrieved with CoreFTP correctly match the ones you uploaded?  Also are all the differences single bits like in the pictures?
    There's a file error line from the retrieve VI - do you ever see anything of note on it?
    If you do all the transfers without using binary mode do you have the same issue?
    Another, maybe better, option would be to use the retrieve multiple VI.  This would let you wire the cluster you build in the second to last for loop straight to the VI instead of having to use the last for loop.
    http://zone.ni.com/reference/en-XX/help/370014E-01/internetftp/ftp_retrieve_multiple/
    Also I didn't see the close FTP session VI anywhere.  You might make sure you're using it.

Maybe you are looking for

  • Bios Hangs, Won't Boot!

    Hi, I have a Neo2/P4 combo that has been working fine for about 3 weeks. This morning Windows XP crashed and now it won't boot back up. The bios hangs for like 5 minutes after checking the hard drives. I've gone into the bios and reloaded the setup d

  • Horizontal Menu Bar (using JQuery as opposed to Spry Assets)

    In older versions, used SpryAssets to create a horizontal menu bar, but that is no longer supported.  CC has lots of JQuery inserts, but none for a Horizontal Menu Bar.  What do i do to create one?

  • Trying to understand and use an Array

    I would like to have a game where the player has three tries before the game stops or moves on to another level. In this game an object jumps up with a mouseClick and if it doesn't hit it's target it falls where it crashes into a floor that uses hitT

  • FCE4 and JVCMG155U

    Hey all- I have been frequenting these forums alot lately it seems. I recently returned my Sony SR42 HDD camcorder for a JVC MG155U HDD thinking that because the JVC has a firewire option and the Sony does not, it would be alot easier. I like the ide

  • Mail signature and links

    Is it possible to add a hyperlink to an image used in the mail signature block? Example: if I wanted to add the facebook logo in my sigature block and attach the link to it...or am I limited to only typing out the address in my signature? Thanks.