scp command not working

Hi All,

I have automated the file transfer process using shell script.I used passwordless SCP to copy the files to my remote server as below.

 scp -P 2022 -v Test.dat username@Host:destination_folder

But the files are not copied to the destination folder.The execution is terminated with exit status 1.Below is the trace detail.

debug1: Sending command: scp -v -t /data/inf/jk/mnp/SrcFiles/user/bop/
Sending file modes: C0740 4 Test.dat
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
lost connection

Thanks in advance.

Is the destination_folder writable by username ?