FTP Directories with leading space report as empty

FTP Directories with leading space in the name report "550/No such file/directories" when clicked-on. Works fine in IE and Chrome.
== URL of affected sites ==
ftp://index.storsys.ibm.com/tivoli-storage-management/

See [/forum/1/609513]
That is a problem with some IBM servers.
[https://bugzilla.mozilla.org/show_bug.cgi?id=543805 Bug 543805] – FTP list parse error when list returns twice space between date and file name
A workaround is this bookmarklet:
<code>javascript:(function() } alert(j);})();</code>

Similar Messages

  • Slash with leading spaces as html text causes problems

    When I am setting a JLabel or a tooltip to the following text
    <html> / something</html>
    I do not see anything at all. It is always when there are only spaces and then a slash.
    <html>x / something</html>
    will show correctly
    <html> / something<br>secondline</html>
    will show the second line correctly and an empty first line
    Is it a bug? You can try with the webstarter application in the java tutorial on html in swing components. It tested with jsdk 1.4.6 and and Java 6

    It seems that you aren't allowed to start html with a / character. I couldn't find any reference to it, but I ran this code:
        public Sandbox() {
            JFrame frame = new JFrame();
            frame.getContentPane().add(new JLabel("<html>hi<br>bye</html>"));
            frame.pack();
            frame.setVisible(true);
        }and tried displaying a html document with a / on the first line:
    <html>
         <body>
              / hello
              <p>This is some text before the banner </p>
              <p>This is some text after the banner</p>
         </body>
    </html>And the first line didn't render. Weird.

  • Removing \n and leading spaces with String.replaceAll()

    I am trying to format a large XML string that contains carriage returns and lines with leading spaces. Something like this (pseudo example)...
    s: "<a>
    ��<b>some text</b>
    ��<c>
    ����<d>more text</d>
    ��</c>
    </a>"When i am done, i want it to look like this...
    s: "<a><b>some text</b><c><d>more text</d></c></a>"I have tried using replaceAll() in this way....
      s = s.replaceAll("^\\s+","");// to remove leading spaces
      s = s.replaceAll("\\n","");// to remove carriage returnsHowever, I am not getting the results I expect. In fact, the entire string seems to simply turn into all whitespace....
    s: "                                           "My question is: Is there an easier way? (or at least a way that works?)

    try this:
    public String transformXML(String s) {
        s = s.replace("^\\s+", "");
        s = s.replace("\\s+$", "");
        s = s.replace("\\s+", " ");
        s = s.replace("\\s*<\\s*([^<>]*?)\\s*>\\s*", "<$1>");
        return s;
    }which would transform your example expression from:
    <a>
    <b>some text</b>
    <c>
    <d>more text</d>
    </c>
    </a>
    to probably what you want:
    <a><b>some text</b><c><d>more text</d></c></a>
    Hope this helps~
    Alex Lam S.L.

  • Apache and directories with spaces

    I have apache\quick finder working and indexing multiple volumes & directories on Netware 6.5 SP5. My problem is directories with a space in the name (e.g Harmony Data vice harmonydata). We cannot seem to create an alias for a directory that has a space in it. Is there a way to create an alias for a directory with a space in it?

    Guenter wrote:
    > Hi,
    > hfr63 <[email protected]> wrote in news:hfr63.35ea6n@no-
    > mx.forums.novell.com:
    >
    >
    >>I have apache\quick finder working and indexing multiple volumes &
    >>directories on Netware 6.5 SP5. My problem is directories with a space
    >>in the name (e.g Harmony Data vice harmonydata). We cannot seem to
    >>create an alias for a directory that has a space in it. Is there a way
    >>to create an alias for a directory with a space in it?
    >
    > you need to quote the folder names, f.e. I've just tested this which works
    > fine for me:
    >
    > Alias "/Data Files" "vol1:/www/Data Files"
    > <Directory "vol1:/www/Data Files">
    > Options Includes Indexes MultiViews
    > Order allow,deny
    > Allow from all
    > </Directory>
    >
    > Gnter.
    >
    Hi Gnter and hfr63.
    I happened to be looking at this too, and was curious if the alias had a
    space in it. I don't know QuickFinder, but why have the space in the
    alias? Anyhow, I think best practice would be to encode the space (%20)
    in the alias since it will become part of the url.
    Alias "/Data%20Files" "vol1:/www/Data Files"
    This might work too:
    Alias /Data%20Files "vol1:/www/Data Files"

  • How to control leading spaces exchnage rate value

    Hi
    We have issue,when user is given the rate value with leadeing spaces in spread sheet,after upload spread sheet, rate is upload as 0.Please advise me how to control this in spread sheet
    Thanks
    Anjireddy

    Hi,
    what about if you format this cell as number? In this case the leading space will be ignored as soon as you press enter or navigate out of the cell.
    does this help?
    kr, Volker

  • RSECADMIN - Authorization Value Entry with Leading zeros

    Hello All
    Issue: RSECADMIN does not allow to enter a authorization value with "leading spaces". This is an issue for us.
    I am using Analysis Authorizations in BI 70.
    We have one object say Product Line Char 5.
    We have 2 values
    '   01'  ==> SID 1
    '01   '  ==> SID 23
    Both have different SID
    In RSSM based security design, I was able to enter value '   01' and then authorization was processed and user was able to access the data '   01'. In RSECADMIN, system does not allow me to enter '   01'. It puts this as 01 all the time and then looks for SID 23.
    Anyone have any experience on this? I am looking for specific guidance if you have found any solution.
    Thanks
    Pankaj Gupta

    Hi Andreas
    It seems to me that after " ' " it considers the whole field as blank. Also field is 5 character long and with Open "  ' " and close " ' "I and 01 I can only have one space before 01. I wanted 3 space and then 01.
    I will test this and let you know.
    Following worked for us:
    1) Created a custom hierarchy that keeps '   01' on a node and then use that node to tell what value user is authorize.
    2) And it worked. It sounds crazy idea but I was running out of the tricks.
    3) It is simple RSECADMIN maintenance tcode bug. It trys to help in Data Entry by Left justing the value. That help was not needed and nessasary at all. Let user get Raw Data Entry screen. Anyway this is not End User Interface tool.
    Thanks a lot.
    Pankaj Gupta

  • Leading Space in Number Range

    hi,
    My requirement is to allow the user to enter a leading space in the material number creation in MM01. The number range for external number is from 000000000000000003  to ZZZZZZZZZZZZZ. So when i enter the material number with leading space I am getting an error message as number out of scope. What should be the FROM Number for the number range to accept a leading blank?
    Please provide suggestions
    Thanks!
    Janani

    hi u can pass like this ,
    data: test(30)  value '00000000000000000000000000003',
            test1(10) .
    test1 = test+20(10).
    then it is possible,
    reward points if useful,
    venkat.
    Edited by: venkat  appikonda on Mar 6, 2008 2:53 PM

  • How can I remove leading spaces?

    I have a 40 page PDF and I used the Form Wizard to generate fields for me. I noticed that some of the fields have leading spaces in the name. These fields cannot be used via the doc.getField(name) syntax. It simply returns null.
    If I manually rename the field and remove the leading space it works, but this would take a long time. Is there any way to programmatically refer to a field with a leading space in the name? Perhaps some sort of escape character for the space? Or can I refer to a field by index instead of name? (For example, I can use doc.getNthFieldName(index) but this just returns the name (with leading space). If I could have something like doc.getNthField(index) that would work too)
    Thanks in advance.

    A very good question! A leading space in generated form field names is a bug if it afterwards keeps you from getting the field by name (which is the only method?).
    I have made an Action in Javascript to loop through all those generated form fields and delete all junk except the two signature fields that were intentional.
    Afterwards, I have to manually delete all the fields that have a leading space in their generated name.
    Please fix.

  • NumberFormat (inserting leading spaces)

    Hi,
    I have a method that takes a NumberFormat as a parameter and I would like to pass it one that will format numbers with three digits (leading space when necessary), but haven't been able to do so.
    I use NumberFormat to get close but it either inserts leading 0's or it just chops off the leading space.
    The problem I have is that I want a Y-Axis to be the same width so the graph doesn't change when the data values change.
    So if my rand is 20 to 80 it is fine but then if I put a graph of 0-100 on there the graph shifts over which is unacceptable.
    So is there a way to use the NumberFormat object to gurantee that I will always get a number back that has three digits with leading space?
    This puts a space in which I was hoping wouldn't:
    DecimalFormat df = new DecimalFormat("###");
    df.setMinimumIntegerDigits(3);

    If I'm reading this right your problem is 2 leading spaces is not the same width as 2 visible characters,
    if you are using the default font.
    To illustrate, try this - add a few numbers, see how they appear, remove the comment //, to change to
    monospaced, then run it again
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    class Testing extends JFrame implements ActionListener
      JButton btn = new JButton("Add");
      JTextField tf = new JTextField(10);
      JTextArea ta = new JTextArea();
      public Testing()
        setSize(200,200);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLocation(400,300);
        //ta.setFont(new Font("monospaced",Font.PLAIN,12));//<------toggle this line
        getContentPane().add(ta,BorderLayout.CENTER);
        btn.addActionListener(this);
        JPanel jp = new JPanel();
        jp.add(tf);
        jp.add(btn);
        getContentPane().add(jp,BorderLayout.SOUTH);
        setVisible(true);
        tf.requestFocus();
      public void actionPerformed(ActionEvent ae)
        String num = tf.getText();
        num = ("   "+num).substring(num.length());
        ta.append(num+"\n");
        tf.setText("");
        tf.requestFocus();
      public static void main(String args[]){new Testing();}
    }

  • Tableview ignores leading spaces (please help!)

    Hello,
    I am new with BSP.
    I have a table with just text entries, some of these texts are entered in the table with leading spaces, I used Tableview to display the entries as is, but when it comes up on the web page, the leading spaces are ignore. 
    Could you give me advice on how to accomplish this, here's how it should look like on the tableview:
    Object                 Description
    12345                  Text description 1
    54321                       Text Description 2
    53451                       Text description 3
    45621                  Text description 4
    12334                        Text description 5
    Thanks for the help, any helpful answer will be rewarded.
    Edited by: Ricky Orea on Feb 6, 2008 8:29 AM
    Edited by: Ricky Orea on Feb 6, 2008 8:30 AM

    Hi Rick,
    this happens because web browsers condense white-space. You can use the non-breaking space ( ) element to force a space.
    Try this example..
    * Layout Section
    <%@extension name="htmlb" prefix="htmlb" %>
    <%
      data: t001t TYPE TABLE OF t001t,
            ref TYPE REF TO t001t.
      select * from t001t into TABLE t001t.
      loop at t001t REFERENCE INTO ref.
        do sy-tabix times.
          CONCATENATE ` ` ref->ltext into ref->ltext.
        enddo.
      endloop.
    %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Test  " >
        <htmlb:form>
          <htmlb:tableView id    = "test"
                           table = "<%= t001t %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Cheers
    Graham Robbo

  • Preserving leading spaces in a report column.

    Hi
    I have a report region derived from a sql query. One of the columns in the database can contain leading spaces. However, my report column is not displaying the leading spaces.
    These are the things I've tried:
    On the Column Attributes page, under Column Formatting, I have entered CSS Class = "code".
    Also on the Column Attributes page, under Tabular Form Element, I have selected Display As = Text Field and I have entered Element Attributes = class="code" READONLY.
    However, the report does not look nice. The column looks too different from the other columns (disabled text field vs standard report columns). Can anyone suggest a better fix for this problem?
    Thanks.
    Jo

    Here's 3 ways to do it:
    http://htmldb.oracle.com/pls/otn/f?p=25262:1
    CSS WS - using the CSS white-space: pre property (here in the Column Formatting/CSS Style property, or it could be done with a class and an external style sheet); doesn't work in Win IE 6 :-(
    HTML Exp - wrapped the column in a &lt;pre&gt; tag in the report SQL [doing this in the Column Formatting/HTML Expression property didn't work - it stripped the spaces. Anyone know if this expected?]. Also had to add a .t4data pre { display: inline; } style rule to the page to remove unwanted default formatting.
    &amp;nbsp; - replaced the spaces in the column in the report SQL with HTML non-breaking spaces: replace(..., ' ', '&amp;nbsp;')
    Given the Win IE restriction on the CSS approach, the last one looks like the simplest solution.

  • Displaying leading spaces in a Standard Report Column

    Is there a way to display leading spaces in a standard report column in APEX?
    I am using the following hierarchy query to left pad the metric title with spaces to indent subordinate records. The problem is that the APEX report truncates the leading spaces when the data is displayed.
    I have replaced the spaces with an underscore, however the end users prefers white spaces for readability.
    Any help is greatly appreciated.
    SELECT
    t.group_id,
    t.metric_id,
    LPAD(' ',(LEVEL - 2)*5,' ') || d.metric_title metric_title,
    d.business_unit,
    get_name(d.data_owner) data_owner,
    d.metric_status,
    t.group_sort
    FROM tbl_health_metric_groupings t JOIN tbl_health_metric_definition d ON t.metric_id = d.metric_id
    WHERE t.group_id != 0
    START WITH t.group_id = 0
    CONNECT BY t.parent_group_id = PRIOR t.group_id
    ORDER SIBLINGS BY t.group_sort, d.metric_title

    Thanks Tony your comment got me pointed in the right direction.
    LPAD only pads a single character to the left so doing something like LPAD(' ',(LEVEL -2)*5,' ') does not produce the expected results however placing LPAD inside a replace function does...
    The following works as expected and places leading spaces at the begining of the metric title based on the hierarchy:
    SELECT
    t.group_id,
    t.metric_id,
    replace(LPAD(' ',(LEVEL - 2)*5,' '),' ',' ') || d.metric_title metric_title,
    d.business_unit,
    get_name(d.data_owner) data_owner,
    d.metric_status,
    t.group_sort
    FROM tbl_health_metric_groupings t JOIN tbl_health_metric_definition d ON t.metric_id = d.metric_id
    WHERE t.group_id != 0
    START WITH t.group_id = 0
    CONNECT BY t.parent_group_id = PRIOR t.group_id
    ORDER SIBLINGS BY t.group_sort, d.metric_title

  • Report Parameters with a space between, not working

    I have a problem with a report in SQL Server 2012 that uses cascading multi-valued parameters. I am using AdventureWorks2012DW as a sample, and all parameters work except for one with a space in this case its SalesTerritoryCountry and the parameter is 'North
    America' which has a space. How do i get it to return data? here is my Stpre procedure for you to try.
    Create Procedure dbo.uspReportParams
    @Region varchar(15),
    @Country varchar(60)
    AS
    BEGIN
    SET NOCOUNT ON
    Select st.SalesTerritoryGroup [Region], st.SalesTerritoryCountry [Country], r.BusinessType [Business Type], SUM(rs.SalesAmount) [Sales Amount]
    from DimReseller r join FactResellerSales rs on r.ResellerKey = rs.ResellerKey
    join DimDate d on rs.OrderDateKey = d.DateKey
    join DimProduct p on p.ProductKey = rs.ProductKey
    join DimSalesTerritory st on rs.SalesTerritoryKey = st.SalesTerritoryKey
    where st.SalesTerritoryGroup IN (Select [splitdata] FROM dbo.fnSplitString (@Region,', '))
    --AND st.SalesTerritoryGroup <> 'NA'
    AND st.SalesTerritoryCountry IN (Select [splitdata] FROM dbo.fnSplitString (@Country,', '))
    Group by st.SalesTerritoryGroup, st.SalesTerritoryCountry, r.BusinessType
    END
    IF i check it with other parameters it works except for North America
    EXEC dbo.uspReportParams @Region = 'Europe,Pacific,North America', @Country = 'Germany,France,United Kingdom,Australia,Canada'

    Thanxs for the reply i will explain more. The Issue is on parameter region which is 'North America', it should return data for United states and Canada.... the spaces for the SalesTerritoryCountry dont matter but for the SalesTerritoryGroup. 
    I have made another discovery which has puzzled me more: If i place paramater 'North America' as the first value when executing the procedure, everything works well but if i place it elsewher ther is a problem here is a example to show what im saying
    EXEC dbo.uspReportParams @Region = 'North America,Europe,Pacific', @Country = 'Germany,France,United Kingdom,Australia,Canada'
    The results for Region 'North America' and Countries 'United States' + 'Canada' Show 
    Its working as expected
    You're using an AND condition in the filter so it will only return the countries which are included in @Country filter as it is the lower level
    I guess may be what you want is this??
    Create Procedure dbo.uspReportParams
    @Region varchar(15),
    @Country varchar(60)
    AS
    BEGIN
    SET NOCOUNT ON
    Select st.SalesTerritoryGroup [Region], st.SalesTerritoryCountry [Country], r.BusinessType [Business Type], SUM(rs.SalesAmount) [Sales Amount]
    from DimReseller r join FactResellerSales rs on r.ResellerKey = rs.ResellerKey
    join DimDate d on rs.OrderDateKey = d.DateKey
    join DimProduct p on p.ProductKey = rs.ProductKey
    join DimSalesTerritory st on rs.SalesTerritoryKey = st.SalesTerritoryKey
    where (st.SalesTerritoryGroup IN (Select [splitdata] FROM dbo.fnSplitString (@Region,', '))
    --AND st.SalesTerritoryGroup <> 'NA'
    OR st.SalesTerritoryCountry IN (Select [splitdata] FROM dbo.fnSplitString (@Country,', ')))
    Group by st.SalesTerritoryGroup, st.SalesTerritoryCountry, r.BusinessType
    END
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • ESB: inbound file and outbound ftp adapter with multiple directories

    Basically I want to scan directories and write new files ftp directories. I could figure out how to do that for one directory. However I need to scan multiple directories and ftp upload files contained in those directories to corresponding ftp directories. Number of directories and their names are only known at run time. All directories are under one parent directory, both locally and the remote ftp site. We can assume all ftp directories exist.
    I could not figure out how to this. Is this possible at all? Directory names seem to be only specified at design time, for both inbound file adapters and outbound ftp adapters.
    Pranab

    Chris, I am not really sure this is the right place to ask this question. But hopefully you might have something in your armour to help me out.
    My requirement is to configure an inbound File/FTP adapter to read from a Directory which can be known only at runtime. A webservice call returns the file name and network path of the file to be read, but that happens only during the run time. I guess one way possible is, you configure a File/FTP Adapter with a logical name for directory and set the physical directory path using the endpoint property. But in that case, I should know the Physical directory @ deployment time.
    I would like to know whether it is possible to manipulate the Endpoint property of an ESB Service (SOAP Service/Routing Service/Adapter Service) during runtime.
    So is there any way to get the enpoint property configured during runtime??? Otherwise dO you recommend some other solution for this use case???
    Any help would be appreciated.
    -Sudheer

  • Pass parameter with blank space for report ver 6

    Hi,
    I face a problem that i willing to pass the acno where it's value with blank space, for example ' 9' as parameter into my report, and assign it as v_acno. Inside the report query i add a where condition, acno >= :v_acno. When i run the report and pass acno without ' , it do not show any record. But when i run the report and pass acno with ' then able to show the records.
    for example the value i key in
    with ' = ' 9'
    without ' = 9
    So how i can solve it by pass the acno without ' but the record still able to show?
    thks
    Message was edited by:
    user569740
    Message was edited by:
    user569740

    Hi Nick,
    It occurs because an argument of the DTExec commands must be enclosed in quotation marks if it contains a space. From the dtexe (SSIS Tool): Syntax Rules section of the
    dtexec Utility (SSIS Tool) document, we can see:
    All options must start with a slash (/) or a minus sign (-). The options that are shown here start with a slash (/), but the minus sign (-) can be substituted.
    An argument must be enclosed in quotation marks if it contains a space. If the argument is not enclosed in quotation marks, the argument cannot contain white space.
    Doubled quotation marks within quoted strings represent escaped single quotation marks.
    Options and arguments are not case-sensitive, except for passwords.
    So, you need to make the value of the variable @QUERY_STRING within double quotes in the value of the variable @Cmd or remove the space within the @QUERY_STRING value.
    Regards,
    Mike Yin
    TechNet Community Support

Maybe you are looking for