Upload files via SCP

Hi!

I’m trying to upload some files to file manager via SCP command.

My command is:
scp -P 21 index.html [email protected]:/htdocs

ERROR MESSAGE
ssh: connect to host ftpupload.net port 21: Cannot assign requested address
lost connection
exit status 1

It’s true that I didn’t write the password anywhere but the command doesn’t ask for it, it throws the message and I don’t know the reason. Maybe I should add something more in the command.

Can anyone help please?

Please provide ftp logs

Make sure you use the right credentials to login

2 Likes

We only provide FTP access, not SSH/SFTP. So you cannot use the SCP command to upload files to your account. You can use an FTP client instead.

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.