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?
KangJL
August 3, 2022, 9:07am
2
Please provide ftp logs
When trying to debug issues with FTP connections, it’s very useful to know what an FTP client is doing under the hood. FileZilla is a very popular FTP client which can provide fairly detailed information about it’s connections.
This article explains how to get this information.
Enable debug logging
To enable debug logging in FileZilla, you’ll need to do the following:
Go to Edit → Settings…
Scroll down to the Debug page.
Ensure that “Show debug menu” is enabled (it is by default).
Update the…
Make sure you use the right credentials to login
2 Likes
Admin
August 3, 2022, 9:25am
3
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
system
Closed
August 10, 2022, 9:26am
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.