apache / apache/netbeans

FTP failures due to FTP LIST command

Open
#6,952 8 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 20

### What happened

Upon trying to download anything from a Filezilla FTP server, the LIST command fails. The contents of the server cannot be listed due to Netbeans sending -a argument after LIST. the -a switch is a non-standard and causes the FTP server to list the contents of folder "-a" which does not exist.

220-FileZilla Server 1.8.0
220 Please visit https://filezilla-project.org/
USER limitless_http
331 Please, specify the password.
PASS ******
230 Login successful.
TYPE I
200 Type set to I
CWD /
250 CWD command successful
PWD
257 "/" is current directory.
CWD /bs5
250 CWD command successful
PWD
257 "/bs5" is current directory.
SYST
215 UNIX emulated by FileZilla.
PASV
227 Entering Passive Mode (192,168,0,249,221,86)
LIST -a /bs5
550 Invalid file name or path
QUIT
221 Goodbye.

### Language / Project Type / NetBeans Component

PHP project

### How to reproduce

Try to list the contents of any remote project when connecting to Filezilla FTP server.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

### JDK

17.0.5; Java HotSpot(TM) 64-Bit Server VM 17.0.5+9-LTS-191

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

Happens every time. Other FTP servers must use non-standard FTP commands.

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by tracing the FTP directory-listing entry point used by NetBeans PHP projects and reproduce the reported FileZilla exchange; done means remote contents can be listed without sending the non-standard “-a” argument after LIST.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, php
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.