in reply to Net::SFTP Help

When I use sftp from the command line, I always run into that problem. It arises from the difference in the pwd "present working directory" and the lpwd "local working directory". You have to keep track of which directories you are in on both machines. I suggest you do the task manually with sftp and see where you have to do lcd "local change directory" and cd "change directory on remote machine". Then work that in to your perl script.