Hey everyone, here is a weird scenario.
I wrote a Python script that downloads files from a remote FTP server to my Pi.
I did it using FTPLIB. All the files I download are completely fine, and act as they should when I use them.
However, sometimes the script will move them from one folder on my pi, to another. This is where it gets weird. Any files that gets moved can been seen and accessed if I SSH into them. However, if I access the files any other way, they are either invisible, or visible but non-accessible.
The way I have accessed the pi is by using a ftp server, and afp server. I will post the code when I am able to get to it again, which will be in the morning (eastern time)
The privileges are 0777, and the group was set to 0.The method used to change the directory is os.rename
Any preliminary ideas?
I wrote a Python script that downloads files from a remote FTP server to my Pi.
I did it using FTPLIB. All the files I download are completely fine, and act as they should when I use them.
However, sometimes the script will move them from one folder on my pi, to another. This is where it gets weird. Any files that gets moved can been seen and accessed if I SSH into them. However, if I access the files any other way, they are either invisible, or visible but non-accessible.
The way I have accessed the pi is by using a ftp server, and afp server. I will post the code when I am able to get to it again, which will be in the morning (eastern time)
The privileges are 0777, and the group was set to 0.The method used to change the directory is os.rename
Any preliminary ideas?
Statistics: Posted by GarraTheWinnie — Fri Aug 02, 2024 3:00 am