[ANY] tEasyFTP v0.0.2 (2011-12-29)
4 Attachment(s)
This requires the cURL extension to compile and use!
Currently i've only implemented uploading file(s) to a ftp server, but i might also add some other stuff over time. This can't be considered stable (yet). Don't trust it. I might even change the natives... you have been warned. It uses a configuration scheme similar to databases.cfg. It expects a file RemoteTargets.cfg in your config folder that looks like this: Code:
"RemoteTargets" PHP Code:
PHP Code:
PHP Code:
Changelog: Can be found on github. Some Notes:
Known Bugs/Issues
|
Re: [ANY] tEasyFTP v0.0.1 (2011-07-24)
I'm acutally using this btw. Nice work!
You got some typos in your plugin. (Declaring the UploadFile native without the underscore and missing a ! before FileExists(remotetargets.cfg...) It's working fine for the binary data i'm using it for even and especially on mapchanges. More suggestions: Adding those options in CurlUploadFile PHP Code:
And that +1 in your getFileBasename function seems out of place. Shouldn't that be inside the []? |
Re: [ANY] tEasyFTP v0.0.1 (2011-07-24)
Ooh, very nice. This looks like something I'll use in the future. Nice work. :D
Edit: Downloading a file from ftp would be very useful. |
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
Updated to 0.0.2
Edit: Also fixed the missing parameter for the forward. |
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
The plugin gives me the error of it being not able to resolve my host name but I can perfectly connect to it through Filezilla.
Sorry for posting twice but I guess this is more related to the FTP part (tEasyFTP) rather than the demo plugin. |
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
Quote:
I'm assuming the latter :wink: and the next assumption is that your gameserver is rented from some random game server hosting company - they don't allow shell access probably. Might it be possible that they don't allow outgoing connections other than the ones made by the gameserver on its own either? Then it's not this plugins problem :) If i'm completely on the wrong path here, please correct me with some more details. I'm specifically curious on this: What error does it give when you try it with the IP directly? It probably won't be "can't resolve host" :wink: ? |
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
Nope, yes you're right it's rented from a gameserver company, Gameservers.com to be exact.
I've tried using the IP for the host and it gives the same error. The problem also is that even when I try it on SRCDS on my own computer (just for testing purposes), it gives me the same error. This applies for both having the host field as the IP and the domain. |
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
Awesome stuff :)
|
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
Uh, i'll check that too ;)
Code:
L 01/10/2012 - 12:43:33: [SM] Native "AddToForward" reported: Plugin handle 6e006e is invalid (error 1) |
Re: [ANY] tEasyFTP v0.0.2 (2011-12-29)
Quote:
thx for reporting. |
All times are GMT -4. The time now is 02:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.