ftp> ls 500 Illegal PORT command. 425 Use PORT or PASV first.
I try put , send , ls produces such an error. Tell me where to dig.
Port or passive mode should be set, however! Passive is easier. Try after connecting to the ftp server, but before receiving / transmitting the file, give the command "quote PASV" (without quotes). Or another option is to use another ftp client, for example Wget.
Source: https://ru.stackoverflow.com/questions/343168/
All Articles