I wish to automate a daily activity of uploading a specific file to a specific location at mywebsite. On google searching I found scp is command to get my work done
but when I run scp I get following output.
Here I have deliberately changed my my username,website name and file path for security reason. In actual command I am using correct username, ftp server name and path.Code:scp myfile.pdf email@example.com:/Path/which/I/want/ ssh: connect to host ftp.mywebsite.com port 22: Connection refused lost connection
Can anyone please help me find what is going wrong?
thanks in advance.