First copy the file you need scp to your folder(Here in this example its /Desktop/issue)
Then connect to Ftp server using following command.
folder.
Then connect to Ftp server using following command.
sanjeewa@sanjeewa-TECRA-M11:~/Desktop/issue$ sftp username@ftp.test.comThen enter your password
username@ftp.test.com's password:You can view the content of ftp location by following command.
Connected to ftp.test.com.
sftp> lsThen copy your file using put command as follows.
WSO0.1-0008.zip WSO2-CARBON-PATCH-3.0.1-0013.zip file1.zip file2.zip
sftp> put axis2-1.6.1.tar.gzNote that axis2-1.6.1.tar.gz file should be located at your machine /Desktop/issue
folder.