View Single Post
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-21-2011 , 20:16   Re: [ANY] tEasyFTP v0.0.1 (2011-07-24)
Reply With Quote #2

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:
Supporting a "any:data" parameter in the UploadFile native which just gets added to the hTrie_UploadEntry trie on call and passed to the callback forward.

And that +1 in your getFileBasename function seems out of place. Shouldn't that be inside the []?

Last edited by Peace-Maker; 12-21-2011 at 20:19.
Peace-Maker is offline