I'm guessing you are on a windows machine, and would then recommend that you use WinSCP to upload the files instead of doing it from VScode.
I also hope that the server is using sftp and not just ftp.
Has anyone here worked with FTP server remote control? I'm currently fixing additional requirements for a production server project using an FTP host, username, and password.
I connected to the remote server (ftp qr.misl.com.mm) and downloaded all the folders. They appear in VS Code, except for the folders inside the public directory, which only show as [DIR] js, [DIR] design, etc.
I’m using the following FTP commands:
ftp qr.misl.com.mm
[Entered username and password successfully]
ftp> cd public/design/img
250 OK. Current directory is /public/design/img
ftp> put "C:\Users\User\Downloads\background-image.jpg"
200 PORT command successful
425 Could not open data connection to port 24556: Connection refused
I encountered the error 425 Could not open data connection to port 24556: Connection refused. I know this is usually fixable via cPanel, but I don’t have access to cPanel. My senior only provided the FTP host, username, password, and remote path.
I just need to upload a background image to the public/design/img folder to update the login page. How can I solve this problem? Any advice would be greatly appreciated!
I'm guessing you are on a windows machine, and would then recommend that you use WinSCP to upload the files instead of doing it from VScode.
I also hope that the server is using sftp and not just ftp.
Please or to participate in this conversation.