Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Could not open files from FTP if the filename contains a space

Open icefront opened this issue 1 month ago • 4 comments

Check for existing issues

  • [x] Completed

Describe the bug / provide steps to reproduce it

It is impossible to open a file from FTP when the filename contains a space. If I rename the file it opens. Of course, renaming a file breaks things, so it is not a solution.

Environment

Samsung Galaxy S22 Ultra. Android 16, oneui 8.

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

icefront avatar Nov 21 '25 05:11 icefront

@icefront Hello, I tried reproducing the mentioned issue, but files with spaces open up fine in FTP. Take a look below.

Screenshot_2025-11-21-14-54-58-791-edit_com.foxdebug.acodefree.jpg

Screenshot_2025-11-21-15-00-39-299-edit_com.foxdebug.acodefree.jpg

Screenshot_2025-11-21-15-00-14-128-edit_com.foxdebug.acodefree.jpg

UnschooledGamer avatar Nov 21 '25 09:11 UnschooledGamer

I wanted to add, deleting files from ftp is not working as well if the file name contains a space. I have to make some investigations, which settings, charsets or which servers cause this issue.

icefront avatar Nov 21 '25 19:11 icefront

I have countless FTP connections, on every server I am facing this issue.

Since I can't share my FTP credentials here, please provide a private channel so I can create a temporary FTP account for you and provide the login details.

There it can be tested:

  • Can't open a file which contains a space
  • Can't delete a file which contains a space
  • However, can rename the file.
  • Error right after creating a file
  • Error right after creating a directory

I am using https://cyberfolks.ro. Nothing special there a standard hosting company, with generic settings. It uses Pure-FTPd.

icefront avatar Nov 21 '25 23:11 icefront

I have countless FTP connections, on every server I am facing this issue.

Since I can't share my FTP credentials here, please provide a private channel so I can create a temporary FTP account for you and provide the login details.

There it can be tested:

  • Can't open a file which contains a space
  • Can't delete a file which contains a space
  • However, can rename the file.
  • Error right after creating a file
  • Error right after creating a directory

I am using https://cyberfolks.ro. Nothing special there a standard hosting company, with generic settings. It uses Pure-FTPd.

I had used SFTP cloud (not affiliated) for testing, You can contact me on Discord or Telegram via Acode Groups. I'll be happy to help resolve this issue 😃.

Thanks, UG.

UnschooledGamer avatar Nov 22 '25 02:11 UnschooledGamer