Page 1 of 1
Rusharp
Posted: Sun Apr 11, 2010 6:40 pm
by Aquavette2k1
1. Does RuSharp still work with the current version of FTPRush?
2. If so, where can i obtain some documentation on its usage?
Re: Rusharp
Posted: Thu Apr 22, 2010 7:14 am
by Punami
I would like to see an example too plz
Re: Rusharp
Posted: Thu Apr 22, 2010 12:22 pm
by LeXxX
Check authors website:
http://mrsp.free.fr/
Re: Rusharp
Posted: Mon May 03, 2010 4:39 pm
by Punami
There is no example code ;/
Re: Rusharp
Posted: Mon May 17, 2010 2:20 pm
by ravedome
There is an example here:
http://pastebin.com/JM7Ja8GY
However the callback doesn't work in that RuSharp.dll so you won't get any replies from FTPRush.
Re: Rusharp
Posted: Mon May 17, 2010 9:13 pm
by Marsup
Last time I checked it did, long time ago though. But your sample will probably won't ever get a callback since it has high chances to end before that ;)
Re: Rusharp
Posted: Mon May 17, 2010 10:30 pm
by ravedome
Hey Marsup,
You got an example that works with callbacks ?
Re: Rusharp
Posted: Tue May 18, 2010 6:29 am
by Marsup
You just have to wait long enough for the answer to come back (if it ever does, that's why I can't lock the API waiting for an answer). So either keep the program from exiting, either use a UI, that's what I did for my testings.
Re: Rusharp
Posted: Tue May 18, 2010 6:31 am
by Marsup
Oh and btw, callbacks are only working on raw commands, that's by design from ftprush, can't do anything about that.
Re: Rusharp
Posted: Tue May 18, 2010 11:19 am
by ravedome
Ahh, that makes sense. Got it work now ;)
Thanks for sorting it out Marsup