The local folder contained the text file, which was confirmed by the command ls ./ When I go to the remote machine and repeat this command, the file is not shown which means that transfer failed.