Issue with Adding Context When Opening Files Directly from FileZilla

Hello, I am experiencing an issue with the Cursor editor that I hope someone can help me with. When I connect to my server using SFTP through FileZilla and open a file directly (Screenshot Attached), I am unable to add that file to the context in Cursor. However, if I first open a folder in Cursor and then open the same file from SFTP, it


allows me to add it to the context without any problems.

Details:

Environment : Macos
Steps to Reproduce:

  1. Open FileZilla and connect to my server.
  2. Open a file directly without opening a folder in Cursor.
  3. Attempt to add the file to context (which fails).
  4. Open a folder in Cursor first.
  5. Open the same file from SFTP, and this time adding it to context works.

Questions:

  1. Is there a specific reason why files opened directly do not allow context addition?
  2. Are there any settings I might need to adjust in either FileZilla or Cursor?
  3. Has anyone else encountered this issue, and if so, what solutions have you found?

Thanks in Advance !