I tried debugging a bit more and I see that rclone is removing the file
2021/06/02 19:03:03 DEBUG : ttt: Removed after failed upload: 250 Requested file action okay, completed.
Is there a way to tell to rclone of not removing the file in case there is an error. Maybe 250 code is seeing a something bad when it's good?
An example on how use goftp library showed this code
c, err := ftp.Dial(Server)
data := bytes.NewBufferString("Hello World")
err = c.Stor(BasePath + "/" + "test-file.txt", data)
if err != nil {
panic(err)
}
And when I try to use it with some difficulties it showed 250 as an error, maybe that could be the issue?