Make sure remote directory isn't empty when using it
Check other settings too