I moved your question to the Server area of the forum as its likely to get more specialized attention.
With regard to your error -
I assume you can login, do other things, log out?
Is it all get commands, or just the one above?
What happens if you remove the file path?
Its optional, does removing it solve the issue?
Do you (or whoever your logged in as) have access and (write) permissions to the Z drive?