Remote server: no such file or directory

Remote server shows some files (.csv) in a particular directory but I cannot open those files or delete them. I have tried using Windows File Manager, FileZilla and also Command Prompt using ssh. When I run the following command

sudo rm <file-name>

I get the following output

no such file or directory

But when I run ls I can see those files listed I am completely lost. What are the possible reasons behind this behavior?

Edit:
Running ls -l returns the following

 total 25
drwxrwxrwx. 2 exemplar deploy 0 Nov 12 23:03 archive
-rwxrwxrwx. 1 exemplar deploy 3685 Mar 11 2021 sample_updates_2021-03-11 00:00:27 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 3685 Mar 13 2021 sample_updates_2021-03-13 00:00:26 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 3670 Mar 16 2021 sample_updates_2021-03-16 00:00:27 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 3685 Mar 17 2021 sample_updates_2021-03-17 00:00:31 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 3670 Apr 3 2021 sample_updates_2021-04-03 00:00:33 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 505 Aug 4 00:08 sample_updates_2021-08-04 00:00:15 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 334 Aug 28 00:08 sample_updates_2021-08-28 00:00:17 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 1422 Sep 1 00:08 sample_updates_2021-09-01 00:00:27 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 1422 Sep 2 00:08 sample_updates_2021-09-02 00:00:19 +0000.csv
-rwxrwxrwx. 1 exemplar deploy 396 Sep 10 00:08 sample_updates_2021-09-10 00:00:19 +0000.csv

and this is an XFS file system

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like