550 error when changing directories using ftp:// ftp site. A space is added
I am trying to download a file from an ftp://ftp.site.com. It works using chrome and IE. But not Firefox. I get the error message 550 / pub: No such file or directory. I found that Firefox adds a space between the "/" and the directory name. Here is a view from view source. the %20 right before the directory pub is the space. 201: "%20pub" 0 Sun%20%2013%20Jul%202010%2000%3A00%3A00 DIRECTORY This error does not happen using IE or chrome. I also verified the space on the ftp server's log files. How can I get rid of the offending space.
この投稿は slaxner により
すべての返信 (1)
I've seen this problem reported before and it may be caused by some IBM servers.
You can try this bookmarklet that I posted that previous time on page where it happens.
javascript:(function(){var i,j=0;for(i=0;L=document.links[i];i++){if(/(\/%2520)/.exec(L.href]]{L.href=L.href.replace('/%2520','/');j++}} alert(j);})();
Bug 552034 – Most file links in FTP directory listing contain an extra space, rendering the links dysfunctional
この投稿は cor-el により