Skip to content

No file replacement popup on Linux SFTP clients #4739

Description

@metabrixkt

Current Behavior

Replacing an existing file replaces it without any prompt on Linux file explorers (such as thunar, nautilus; they have built-in SFTP support, probably using gvfs-sftp).

Expected Behavior

Replacing an existing file makes Linux file explorers open a popup like This folder already contains a file "test-empty file", do you want to replace the existing file <detailed info about the existing file> with the following file? <detailed info about the new file>. This is a behavior that I have with any OpenSSH server, but not with Pterodactyl SFTP server.

image

Steps to Reproduce

Linux required. I only tested on thunar (xfce4 built-in file manager) and on nautilus (gnome built-in file manager iirc)

  1. Upload any file named example-file to the container
  2. Create a file named example-file in your local folder, the contents do not matter
  3. Copy this file
  4. Paste the copied file to the container to the same directory where the initial example-file was uploaded to

On OpenSSH servers you would get a detailed prompt to replace the exisiting prompt, but on Pterodactyl SFTP server the file just gets replaced without any prompt.

In Pterodactyl Discord someone told me that it might be because wings doesn't provide a shell, but I'm just quoting this, I'm not sure about it myself as I don't know what's causing the prompt not to open. If it's because wings doesn't provide a shell, then this issue is a feature request at least for the file replacement prompt, I think?

Panel Version

1.11.3

Wings Version

1.11.5

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions