SamKirkland / FTP-Deploy-Action

Deploys a GitHub project to a FTP server using GitHub actions
MIT License
3.89k stars 375 forks source link

Error : 530 login authentication failed #433

Open Syaamilmaulana256 opened 9 months ago

Syaamilmaulana256 commented 9 months ago

Desc I just trying to use FTP deploy and ftp deploy package installed in node js CI and I try to open ftp using TotalCommander FTP a android application can use ftp config

import { deploy, excludeDefaults } from "@samkirkland/ftp-deploy";

async function deployMyCode() {
  console.log("🚚 Deploy started");
  await deploy({
    server: "ftp.samkirkland.com",
    username: "admin@org",
    password: `justadmin`, // note: I'm using backticks here ` so I don't have to escape quotes
    exclude: [...excludeDefaults] // excludeDefaults will exclude .git files and node_modules
  });
  console.log("🚀 Deploy done!");
}

deployMyCode();

if you shock why I showed my username & pw

ilonashairstyling commented 9 months ago

I've the same issue. Using filezilla the details are working fine, but through an action it doesn't. Using an IP-adres as destination (do I need to add a port)? (I'm using standard port 21)

ilonashairstyling commented 9 months ago

I've the same issue. Using filezilla the details are working fine, but through an action it doesn't. Using an IP-adres as destination (do I need to add a port)? (I'm using standard port 21)

I got it fixed. I have a UAT and a MAIN branche. I updated the details in the MAIN-branche the UAT-deploy-yaml. The secret password was updated in Secrets so the username/password was no longer matching, since it was still pointing to my old server and my username in my yaml (per my config in UAT).