Can't Clone Repro because copy.env can't be deleted
Posted by belisaurus in discord-bots.
Hi, i can't clone the bot repro, because the file "copy.env" stays in the root folder even if i deletet it. Any ideas?
Replies
navin.10
Copy the contents of the file to a local notepad/text editor then delete the file then clone the repo and then you can put the file back if you need it
belisaurus
No thats not my problem. I CANT delete the "copy.env" file. When i delete, rename or whatever it simply appears again. Deleting the ".env" is not a problem but deleting "copy.env" seems to be impossible. So i have no chance to clone my repro, because my root contains always the "copy.env"
axillux
Can you try deleting a server and then creating again (if its free)?
belisaurus
No, its a preimium server.
axillux
Could you try to using SFTP to try to delete this file? Premium server has access to SFTP
belisaurus
Yes, this worked perfectly. Thanks a lot for your advise.