Remote-ftp: Unknown command 500

Created on 4 Oct 2017  ·  7Comments  ·  Source: icetee/remote-ftp

After plugin update to version 1.2.1 I have this issue:
"Unknown command 500"
Windows 10 x64

Console log:
":118139 IntersectionObserver.observe(target): target element is not a descendant of root.
TreeView @ :118139
C:Usersqs.atompackagesemmetlibemmet.coffee:139 Loading Emmet extensions from ~/emmet
C:Usersqs.atompackagesemmetlibemmet.coffee:156 Emmet: no such extension folder: C:Usersqs/emmet
loadExtensions @ C:Usersqs.atompackagesemmetlibemmet.coffee:156
"

Built-in Atom Packages
├── atom-dark-syntax@0
├── [email protected].
├── atom-light-syntax@
├── [email protected]
├── base16-tomorrow-da
├── base16-tomorrow-li
├── [email protected]
├── [email protected].
├── one-dark-syntax@1.
├── one-light-syntax@1
├── solarized-dark-syn
├── solarized-light-sy
├── [email protected]
├── [email protected].
├── autocomplete-atom-
├── autocomplete-css@0
├── autocomplete-html@
├── autocomplete-plus@
├── autocomplete-snipp
├── [email protected]
├── [email protected]
├── background-tips@0.
├── [email protected]
├── bracket-matcher@0.
├── command-palette@0.
├── [email protected]
├── deprecation-cop@0.
├── dev-live-reload@0.
├── encoding-selector@
├── exception-reportin
├── find-and-replace@0
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── grammar-selector@0
├── [email protected]
├── incompatible-packa
├── keybinding-resolve
├── line-ending-select
├── [email protected]
├── markdown-preview@0
├── [email protected]
├── [email protected]
├── [email protected]
├── package-generator@
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── update-package-dep
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── language-clojure@0
├── language-coffee-sc
├── language-csharp@0.
├── [email protected].
├── [email protected].
├── [email protected].
├── [email protected]
├── [email protected]
├── language-hyperlink
├── [email protected]
├── language-javascrip
├── [email protected]
├── [email protected]
├── [email protected]
├── language-mustache@
├── language-objective
├── [email protected]
├── [email protected].
├── language-property-
├── language-python@0.
├── [email protected]
├── language-ruby-on-r
├── [email protected]
├── language-shellscri
├── language-source@0.
├── [email protected].
├── [email protected].
├── [email protected]
├── [email protected]
├── language-typescrip
├── [email protected].
└── [email protected]

Community Packages (24
├── [email protected]
├── atom-material-synt
├── atom-material-ui@2
├── [email protected].
├── atom-zurb-foundati
├── [email protected]
├── [email protected]
├── emmet-snippets-com
├── [email protected]
├── highlight-selected
├── [email protected]
├── [email protected] (disa
├── [email protected].
├── [email protected]
├── [email protected].
├── [email protected]
├── linter-ui-default@
├── [email protected]
├── [email protected]
├── [email protected]
├── project-manager@3.
├── [email protected]
├── sass-autocompile@0
└── [email protected]

bug

Most helpful comment

@telmo-antunes This is an open source project, it is impossible to test all server environments alone. Switch to the previous version. Two commands are not too complicated to issue.

apm remove remote-ftp  
apm install [email protected]

All 7 comments

@telmo-antunes This is an open source project, it is impossible to test all server environments alone. Switch to the previous version. Two commands are not too complicated to issue.

apm remove remote-ftp  
apm install [email protected]

I experience same problem, as mentioned in Issue#991.
In my case it is the EPSV command that gets the "500 Unknown command" response.
I'm using simple FTP (no SFTP).

If you set Debug response in Remote-FTP settings view, the console will show what command that gives the response.

@icetee OMG thank you very much for the feedback!!

Fixed the v.1.2.2?

Same problem with v.1.2.3

The server should support EPSV.
It might be a firewall problem on the server (quite strickt). I will check it out.

< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------rn220-You are user number 1 of 50 allowed.rn220-Local time is now 08:02. Server port: 21.rn220-This is a private system - No anonymous loginrn220-IPv6 connections are also welcome on this server.rn220 You will be disconnected after 15 minutes of inactivity.
USER username
< 331 User username OK. Password required
PASS *
< 230 OK. Current restricted directory is /
FEAT
< 211-Extensions supported:rn EPRTrn IDLErn MDTMrn SIZErn MFMTrn REST STREAMrn MLST type
;size;sizd;modify;UNIX.mode;UNIX.uid;UNIX.gid;unique*;rn MLSDrn AUTH TLSrn PBSZrn PROTrn UTF8rn ESTArn PASVrn EPSVrn SPSVrn ESTPrn211 End.
OPTS UTF8 ON
< 200 OK, UTF-8 enabled
TYPE I
< 200 TYPE is now 8-bit binary
EPSV
< 500 Unknown command

If changing from 501 to 500 in line 103 it works for me.

if (errEPSV.code === 501 || /Operation not permitted/.test(errEPSV.message)) {

v.1.2.4 work like a charm.
Thanks @icetee

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abvincita picture abvincita  ·  7Comments

lukecywon picture lukecywon  ·  6Comments

RyLeeHarrison picture RyLeeHarrison  ·  5Comments

fausto160792 picture fausto160792  ·  7Comments

parkjanghan picture parkjanghan  ·  4Comments