Comments (11)
Take a look to this #2
Unlike what I wrote 2 days ago, I have now extended the FTP support.
from fs19_webstats.
Honestly most places since they are behind a firewall force passive ftp so in the php code you need to include passive ftp
http://php.net/manual/en/function.ftp-pasv.php
That is why G-Portal is having issues with this as a note in your code in the install.php
from fs19_webstats.
I tested many ways to get ftp run with our g-portal server. None worked only the workaround I currently build in which i found in g-portal forum.
But FTP is only a soulution I want to use until hopefully the giants web api is extended. FTP is slowlier (at least in the current version I've build in) and the minimal autosavetimer is 5 minutes - to slow in my opinion for a website which should show actual data. :-/
I'm not sure but in first commits you can find some trys to get the data with php ftp functions from the server.
from fs19_webstats.
I tested many ways to get ftp run with our g-portal server. None worked only the workaround I currently build in which i found in g-portal forum.
But FTP is only a soulution I want to use until hopefully the giants web api is extended. FTP is slowlier (at least in the current version I've build in) and the minimal autosavetimer is 5 minutes - to slow in my opinion for a website which should show actual data. :-/I'm not sure but in first commits you can find some trys to get the data with php ftp functions from the server.
Any way you know of to enable passive I am not a good PHP programmer I can hack stuff together but thats about all I didn't see where it could be placed in the code.
from fs19_webstats.
I tested many ways to get ftp run with our g-portal server. None worked only the workaround I currently build in which i found in g-portal forum.
But FTP is only a soulution I want to use until hopefully the giants web api is extended. FTP is slowlier (at least in the current version I've build in) and the minimal autosavetimer is 5 minutes - to slow in my opinion for a website which should show actual data. :-/I'm not sure but in first commits you can find some trys to get the data with php ftp functions from the server.
This is one I built a long long time ago for FS17 but I like yours better
http://gameonline365.com/farm/index.html
But this is using the SDK they provided. So what I have found is that since my FS is behind a firewall I have had issues with having passive FTP on. So that is why I was wondering if you had away to add passiv ftp. I can try to not use passiv ftp but i have had a number of issues that is why I am asking not sure if that is anything that can be added.
from fs19_webstats.
Let's wait until the next patch of Giants. Maybe it will extend the Web API and we don't need to use FTP at all.
Until then I'm working on the core of my web stats - the parsing and processing of the XML files of the savegames.
from fs19_webstats.
So here is my issue I have a hosted server at home with ftp to it.
I am able to ftp just fine with the folder you can see file 1 that shows the FTP.
So then I go over to web software and place in my testing info in number 2 and I get an error of Error! ##ERROR_FTPSERVER##
So I started to think about passiv FTP and if you have it in your code that is why I pointed to that. I just tried it again and I am not able to get it to connect for some reason when using ftp program everything works perfect you can see that in the first screen shot.
Also to be honest I don't even see an attempt to connect in my ftp logs at all. So that is why I was wondering if you planed on adding or writing passiv ftp into the code.
from fs19_webstats.
According to the error message, the PHP script cannot connect to the FTP server. So you can't find any entries in the log file of the FTP server ;-)
I just created an FTP server on my NAS and I was able to transfer data via FTP (with SSL and without) with my script.
Is there perhaps a firewall through which your web server cannot connect to the FTP server? It can't be due to the passive FTP, because the connection itself is not established.
from fs19_webstats.
Maybe my web host is blocking it I am running it on port 3333 so try to get around it if the problem are on my farming sim server I wouldn't be able to see it with a ftp client. WOW I am with you on this it is kind of a pain in the butt when Giant dose not have everything ready to go at launch. Let me toy with my web host to my game host see what happens on the port... It could be the webhost firewall. I know port 21 works because I do nightly automated backups in cpanel to my same location hosting my game server. They work with out any issues. I might need to pick a more common port or temp disable that see if it work for a good test.
from fs19_webstats.
Could we close this topic? In tests on my and another FTP server (#2) FTP access is working. Whats up with your server?
from fs19_webstats.
I am not able to do any more work on it right now sorry I have had to move on so we can close for now
from fs19_webstats.
Related Issues (20)
- FTP still nessesary? HOT 4
- Beste Verkauspreise - BGA nur bei Kauf berücksichtigen HOT 1
- Continuous relogin HOT 1
- Map in Setup nicht auswählbar HOT 2
- Bester Milch- und Haferpreis nicht korrekt HOT 7
- Support of GlobalCompany
- Bales on trailers are ignored HOT 3
- The unification of the same animals in the stable HOT 3
- No image in new setup .) HOT 1
- Images in PRICES are not displayed HOT 4
- PHP Notice: Undefined index: HTTP_ACCEPT_LANGUAGE HOT 1
- Connection trough ftp by nitrado HOT 10
- Letzten Speicherzeitpunkt auf allen Seiten
- Contracts - display of percentages HOT 1
- SSL Support HOT 1
- Installation Issues
- Geht es hier noch weiter? HOT 5
- Any hints on creating a custom map config file? HOT 2
- Ideen / Vorschläge HOT 1
- Wie ruft man die Daten per ftp ab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fs19_webstats.