szernex / yetanotherbackupmod2 Goto Github PK
View Code? Open in Web Editor NEWYetAnotherBackupMod2 for Minecraft Forge 1.7.10
License: Apache License 2.0
YetAnotherBackupMod2 for Minecraft Forge 1.7.10
License: Apache License 2.0
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.