Problem .exe file doesn't upload

AwesomeFishh

New Member
Jul 29, 2019
2
0
0
Hey there, I want to upload FTB infinity v1.3.4 to my server, but it doesn't allow the wget.exe in libraries to upload... Is there another way to get the modpack on my server or am I just using the wrong server files?
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Assuming your server is running Linux you won't be using any .bat or .exe files so you can safely not upload those. If your server is using Windows, talk to your host about the issue. Blocking certain file types via FTP is not normal and has genuine uses like this one.
 

ljfa

New Member
Jul 29, 2019
2,761
-46
0
Hm, do the Infinity server files include a wget.exe or where does that come from?
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
I have the same problem I can't upload the wget.exe to my host
Could you try to see if the server still works if you don't include the wget.exe? I would be surprised if it didn't if the OS of your server is Linux as Linux can't open .exe files anyway.
 

Antt

New Member
Jul 29, 2019
3
0
0
I have tried it just crashes saying it needs it my host is windows i think
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
That is strange. Did it stop loading or did it crash before it began to load?
If it is the latter then it is probably the .sh file that looks for it for and you should be able to edit the check out. If it is not then I have no idea how to fix it.

Maybe try to download the files from ftb from your server?
 

Shybella

New Member
Jul 29, 2019
81
2
0
If this is a host for Minecraft servers will not work.

Most likely they are using Linux. That won't execute .exe files. Sure, if they have Mono or something running but then again that's highly unlikely.

Also, If they were running Windows that'd stop Windows binaries(.exe) from being executed for security reasons. You can create safe environments for Java executes because it's a virtual environment. ( Not sure why Mojang is not using a java to get libraries? :X)

Here's your solution.

Download FTB 1.3.4 from your client, make sure you download the server. After that, launch the FTBInstall script. This will download the libraries to your computer. After doing that, take the download library folder and upload it to the main directory of your server.

Let us know how things go.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
Download FTB 1.3.4 from your client, make sure you download the server. After that, launch the FTBInstall script. This will download the libraries to your computer. After doing that, take the download library folder and upload it to the main directory of your server.

Let us know how things go.

I may be wrong as I have not installed an infinity server or looked into it
In the first post it was stated that the wget.exe file is inside the libraries folder. I suspect that this folder gets created by the install.bat or install.sh for Linux again not done it my self so may be wrong. This means that wget.exe will be downloaded by the install script and thus prevents the upload again.

What may help is running the install script on the server itself but I don't think this will do any better as when you are not allowed to upload certain files I would be surprised you are allowed to download them.
 

Shybella

New Member
Jul 29, 2019
81
2
0
Code:
cd "$(dirname "$0")"
MCVER="1.7.10"
JARFILE="minecraft_server.${MCVER}.jar"
LAUNCHWRAPPER="net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar"
which wget
if [ $? -eq 0 ]; then
        wget -O ${JARFILE} https://s3.amazonaws.com/Minecraft.Download/versions/${MCVER}/${JARFILE}
        wget -O libraries/${LAUNCHWRAPPER} https://libraries.minecraft.net/${LAUNCHWRAPPER}
else
        which curl
        if [ $? -eq 0 ]; then
                curl -o ${JARFILE} https://s3.amazonaws.com/Minecraft.Download/versions/${MCVER}/minecraft_server.${MCVER}.jar
                curl -o libraries/${LAUNCHWRAPPER} https://libraries.minecraft.net/${LAUNCHWRAPPER}
        else
                echo "Neither wget or curl were found on your system. Please install one and try again"
        fi
fi

This is what my script contains.

Oh, forgot. Don't run the .bat rename the .sh or called file to .bat. It should work

( I'm on linux )
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
Code:
cd "$(dirname "$0")"
MCVER="1.7.10"
JARFILE="minecraft_server.${MCVER}.jar"
LAUNCHWRAPPER="net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar"
which wget
if [ $? -eq 0 ]; then
        wget -O ${JARFILE} https://s3.amazonaws.com/Minecraft.Download/versions/${MCVER}/${JARFILE}
        wget -O libraries/${LAUNCHWRAPPER} https://libraries.minecraft.net/${LAUNCHWRAPPER}
else
        which curl
        if [ $? -eq 0 ]; then
                curl -o ${JARFILE} https://s3.amazonaws.com/Minecraft.Download/versions/${MCVER}/minecraft_server.${MCVER}.jar
                curl -o libraries/${LAUNCHWRAPPER} https://libraries.minecraft.net/${LAUNCHWRAPPER}
        else
                echo "Neither wget or curl were found on your system. Please install one and try again"
        fi
fi

This is what my script contains.

So it now comes with wget.exe when you download it? and it uses that to download the server files?
 

Shybella

New Member
Jul 29, 2019
81
2
0
What wget.exe does is what wget does on Linux. It's a way to download file from a specified url.

So, yeah looks like it

If that script doesn't work from FTBInstall then try uploading that same script to the server host and see what happens. I wouldn't see a reason to block it. Most likely the host has the servers setup as their own user.
 

Shybella

New Member
Jul 29, 2019
81
2
0
Wait, the script checks for curl. So, if it's directing to wget.exe then curl isn't installed on the hosts Linux box.

Who are you hosting with? If you mind me asking?
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
Okay, looks like the minecraft_server will download the libs too. So, if you launch that on the server should handle everything aswell.

You know you can just edit your posts right?

I then would still suggest to run the install script locally and test it before uploading as a GUI is easier then using a terminal for most users for this kind of things.

edit derped a little bit much
 

Antt

New Member
Jul 29, 2019
3
0
0
If this is a host for Minecraft servers will not work.

Most likely they are using Linux. That won't execute .exe files. Sure, if they have Mono or something running but then again that's highly unlikely.

Also, If they were running Windows that'd stop Windows binaries(.exe) from being executed for security reasons. You can create safe environments for Java executes because it's a virtual environment. ( Not sure why Mojang is not using a java to get libraries? :X)

Here's your solution.

Download FTB 1.3.4 from your client, make sure you download the server. After that, launch the FTBInstall script. This will download the libraries to your computer. After doing that, take the download library folder and upload it to the main directory of your server.

Let us know how things go.

Thanks I ran the FTB Server Install bat locally it downloaded all it needed uploaded it and it worked