How to put file to some ftp location

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.
sanjeewa@sanjeewa-TECRA-M11:~/Desktop/issue$ sftp username@ftp.test.com
Then enter your password
username@ftp.test.com's password:
Connected to ftp.test.com.
You can view the content of ftp location by following command.
sftp> ls
WSO0.1-0008.zip          WSO2-CARBON-PATCH-3.0.1-0013.zip     file1.zip        file2.zip      
Then copy your file using put command as follows.
sftp> put axis2-1.6.1.tar.gz
Note that  axis2-1.6.1.tar.gz file should be located at your machine /Desktop/issue
folder.

No comments:

Post a Comment

Empowering the Future of API Management: Unveiling the Journey of WSO2 API Platform for Kubernetes (APK) Project and the Anticipated Alpha Release

  Introduction In the ever-evolving realm of API management, our journey embarked on the APK project eight months ago, and now, with great a...