I have an issue when trying to upload a file using PHP FTP from my website that is deployed on the GCP Kubernetes Engine. And when I try to upload it manually from the Pod terminal using the ftp
command, it allows me to open the connection and login with the given username and password.
But, when I try to upload the file and even do the ls
command to see the directory list, it is always stuck. There is no helpful error or any message as shown below.
But then, when I try to cancel it, I get this message:
I have tried all of the above steps on my local computer and it's working. I can upload it to that FTP server. So, there is no issue with the FTP server.
Is there a way to trace what is the issue?
And what should I do so I can upload the file from GCP Kubernetes Pods?
Thanks