Page 1 of 1

Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Fri Nov 06, 2020 1:33 pm
by SICHLCommish
Since upgrading to the new version of the simulator and the client, our league is now having issues with league file and lines files. We never had problems before.

About half of my GMs are not able to upload lines anymore. Since I have never used the Client before, I decided I would try for myself.

So I am using version 3.2.5.5 of the SIM and the latest version of the CLIENT that I just downloaded from the STHS website.

The sim works fine. The FTP test works great. If I manually upload a lines file to the /linesupload and either simulate games or "auto load lines", it succesfully downloads the lines from the directory with no problem

But if I open the CLIENT - on the exact same laptop - I get an error when trying to upload a lines file.

I am not sure what the half of the GMs in my league who seem to be able to upload lines are doing... maybe using an older version of the client. But it seems very strange to me that on the exact same computer that the sim will work and the client will not. I would think they would be using the same code to do the file uploads...

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Fri Nov 06, 2020 1:59 pm
by SICHLCommish
One of my GMs sent me the CLIENT version 3.2.2 to try. It works. There is something in the new client that has changed and is not working for us.

I couldn't quite follow the other thread here en francais... probably this is a duplicate issue. Sorry about that.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Fri Nov 06, 2020 8:56 pm
by SimonT
Hi.

The STHS Client 3.2.5 doesn't support FTP upload anymore. It used HTTP upload function introduced in version 3.2.5.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sat Nov 07, 2020 7:53 am
by SICHLCommish
Are there instructions somewhere for how to setup a server to allow HTTP upload? I've CHMODed the folder to 777... that didn't seem to help.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sat Nov 07, 2020 4:08 pm
by SimonT
Did you ever use the manual upload function in the STHS for quite a while. It's the same process/code.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sat Nov 07, 2020 4:54 pm
by SICHLCommish
I've been using the upload feature for many years and it always worked for us without any problems until this year.

I followed the instruction from the sim to create a different folder "linesupload".

I'm just trying to help my GMs figure out why they are having these issues and if there is anything else I need to do to make sure the FTP or HTTP upload works for them.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sat Nov 07, 2020 6:50 pm
by SimonT
If you been using the upload feature, the STHS Client in 3.2.5 use the same feature. Instead of using a browser and manually upload your STL file, the STHS Client does it by itself if you have the 3.2.5 website.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sun Nov 08, 2020 8:27 am
by JimToupet
Have you upload the new Dynamic Website pages of this new version ?

The File UploadSTHSClient.php must be present for the Client Upload to work.

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sun Nov 08, 2020 9:36 am
by SICHLCommish
No, we have built our own custom PHP site around the STHS outputs. I will try that - thanks, Jim!

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sun Nov 08, 2020 9:58 am
by SICHLCommish
No luck. I also found a file called "Upload.php" which I also added to our site. Still the upload fails from the Client

Re: Using Latest STHS Sim / Client File Upload/Download Issue

Posted: Sun Nov 08, 2020 10:05 am
by SICHLCommish
I think I found it!

Output Options -> Folders List -> Website URL

I had http instead of https for the URL of the league.

I did some testing and you are correct, Jim. The UploadSTHSClient.php file must be present in my website's root folder. The "Upload.php" file is not necessary.

I will ask some GMs to try to upload lines now using the newest Client. Hopefully this is the fix we needed.