PHP ftp_connect in readonly mode

There is a way to establish a read-only ftp connection with PHP?

I only need to do these inside the remote ftp:

  • ftp_connect
  • ftp_login
  • ftp_chdir
  • ftp_get
  • ftp_close

If I, for mistake, delete/modify something on the remote ftp it’ll be a very big problem (due to work matters).

(I already check my code 10 times and do a lot of tests, but human error is always possible.)

Thanks