Hi
I am trying to SFTP file from source_path to Destination_path. For this I wrote the below script:
cd $source_path
sftp $user_name@$target_server
pwd
cd $destination_path
put $filename
After connecting to target_server via sftp, pwd should be target server home path but it is $source_path.
Can anyone explain this?