fix: a php warning was generated if the file to be transferred is in the root folder