Coder Social home page Coder Social logo

yetanotherbackupmod2's Issues

1.10.2

Hey,
I need some mod that do backups to my ftp storage server but i'm running 1.10.2. There is any chance to get it in 1.10?
Tks

FTP Server Does Not Work on Windows OS

I assume this mod originated on a Linux system as it has come to my attention that when trying to send persistent backups to an off-site location I receive a 505 error which suggests denied permissions. See below

[16:36:04] [Thread-26/INFO]: Starting FTP upload.
[16:36:04] [Thread-26/INFO]: Connecting to FTP Server ***.***.***.***:21
[16:36:04] [Thread-26/INFO]: Authenticating with credentials.
[16:36:04] [Thread-26/INFO]: Logged in.
[16:36:04] [Thread-26/INFO]: Entering passive mode.
[16:36:04] [Thread-26/INFO]: Starting upload.
[16:36:04] [Thread-26/WARN]: FTP upload failed.
[16:36:04] [Thread-26/INFO]: FTP upload failed. See log for more info.
[16:36:04] [Thread-26/WARN]: FTP server reply: 550 \shares\backup_world_2017-06-29_16-36-01.zip: Permission denied
[16:36:04] [Thread-26/INFO]: Turning auto-save back on

I am able to send a backup saved locally to the ftp server via Command Prompt just fine. I believe this error is due to a separation error. I have not been able to test this personally as of this moment but I believe YABM2 is attempting to send the backup to the ftp with backslashes ("") rather than a forward slash ("/").

See the code snippet from BackupThread.java below.

164: LogHelper.info("Starting upload.");
165: InputStream input = new FileInputStream(target_file.toFile());
166: boolean success = client.storeFile(location.resolve(target_file.getFileName()).toString(), input);

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.