-
1 Attachment(s)
Ferret.Sock + FileStream
I've converted Ferret.Sock and FileStream for MMF2. Check out the example where they are working together to download a file from the internet using the new HTTP request action and HTTP response parsing of Ferret.Sock and file streaming of FileStream.
-
Ferret.Sock + FileStream
I've converted Ferret.Sock and FileStream for MMF2. Check out the example where they are working together to download a file from the internet using the new HTTP request action and HTTP response parsing of Ferret.Sock and file streaming of FileStream.
-
Re: Ferret.Sock + FileStream
Thanks Turbo!
I look forward to trying these out later today.
-
Re: Ferret.Sock + FileStream
Thanks Turbo!
I look forward to trying these out later today.
-
Re: Ferret.Sock + FileStream
GREAT! I love Ferret.Sock! When will you be publishing it?
-
Re: Ferret.Sock + FileStream
GREAT! I love Ferret.Sock! When will you be publishing it?
-
Re: Ferret.Sock + FileStream
LOL what a nice icon for the Ferret.Sock extension <img src="/center/images/graemlins/wink.gif" alt="" />
Testing it as I write this.
-
Re: Ferret.Sock + FileStream
LOL what a nice icon for the Ferret.Sock extension <img src="/center/images/graemlins/wink.gif" alt="" />
Testing it as I write this.
-
Re: Ferret.Sock + FileStream
Hehe glad you like my imagination, Andos <img src="/center/images/graemlins/laugh.gif" alt="" />
I don't know, Jam. Not sure if it is going in a bonus pack or not.
-
Re: Ferret.Sock + FileStream
Hehe glad you like my imagination, Andos <img src="/center/images/graemlins/laugh.gif" alt="" />
I don't know, Jam. Not sure if it is going in a bonus pack or not.
-
Re: Ferret.Sock + FileStream
The way your going we could have the Ferret Bonus pack <img src="/center/images/graemlins/wink.gif" alt="" /> LOL
-
Re: Ferret.Sock + FileStream
The way your going we could have the Ferret Bonus pack <img src="/center/images/graemlins/wink.gif" alt="" /> LOL
-
Re: Ferret.Sock + FileStream
A little issue with the Ferret.Sock object and the automatic HTTP parsing:
Try fetch www.clickteam.com and observe what the object returns:
[]3c
<html>
<head>
<title>Clickteam -- Creative Tools</title>
2
<s
5a
cript src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>[/]
Some HTTP header'ish stuff is in the middle of the website content (3c,2,5a). I have no idea how to filter this out, but I guess it is because of different HTTP protocol types. (normal,multipart, ...)
-
Re: Ferret.Sock + FileStream
A little issue with the Ferret.Sock object and the automatic HTTP parsing:
Try fetch www.clickteam.com and observe what the object returns:
[]3c
<html>
<head>
<title>Clickteam -- Creative Tools</title>
2
<s
5a
cript src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>[/]
Some HTTP header'ish stuff is in the middle of the website content (3c,2,5a). I have no idea how to filter this out, but I guess it is because of different HTTP protocol types. (normal,multipart, ...)
-
Re: Ferret.Sock + FileStream
Ahh yeah that's because it's being sent in "chunks". the "header'ish stuff" <img src="/center/images/graemlins/smile.gif" alt="" /> is a hexadecimal value for how much data is in that chunk. I didn't take that into account. I'll fix it.
-
Re: Ferret.Sock + FileStream
Ahh yeah that's because it's being sent in "chunks". the "header'ish stuff" <img src="/center/images/graemlins/smile.gif" alt="" /> is a hexadecimal value for how much data is in that chunk. I didn't take that into account. I'll fix it.
-
Re: Ferret.Sock + FileStream
With Ferret.Sock, I created a small application in MMF2 which listened on port 1337 and on connect, sent the connection index. I telnetted to it and had 5 telnet clients open containing numbers from 0 to 4. I closed number '2' and launched another telnet client (to see if it took number 2's place, which is what I wanted it to do) but it was assigned the number '3'- so there was 2 clients with connection index '3'. Odd huh?
-
Re: Ferret.Sock + FileStream
With Ferret.Sock, I created a small application in MMF2 which listened on port 1337 and on connect, sent the connection index. I telnetted to it and had 5 telnet clients open containing numbers from 0 to 4. I closed number '2' and launched another telnet client (to see if it took number 2's place, which is what I wanted it to do) but it was assigned the number '3'- so there was 2 clients with connection index '3'. Odd huh?
-
Re: Ferret.Sock + FileStream
Connection indices aren't static, so I would expect the new connection to get an index of 4. Probably just something with "On connect" in the server, I'll check it out.
-
Re: Ferret.Sock + FileStream
Connection indices aren't static, so I would expect the new connection to get an index of 4. Probably just something with "On connect" in the server, I'll check it out.
-
Re: Ferret.Sock + FileStream
Is it possible for you to add a "Send to all" action? It gets quite annoying having to manually loop through all of the connections.
-
Re: Ferret.Sock + FileStream
Is it possible for you to add a "Send to all" action? It gets quite annoying having to manually loop through all of the connections.
-
Re: Ferret.Sock + FileStream
Yeah that was meant to be there, got lost I guess <img src="/center/images/graemlins/smile.gif" alt="" />
I'll add it.
-
Re: Ferret.Sock + FileStream
Yeah that was meant to be there, got lost I guess <img src="/center/images/graemlins/smile.gif" alt="" />
I'll add it.
-
Re: Ferret.Sock + FileStream
Great! Any idea when the next release will be ready? <img src="/center/images/graemlins/smile.gif" alt="" />
-
Re: Ferret.Sock + FileStream
Great! Any idea when the next release will be ready? <img src="/center/images/graemlins/smile.gif" alt="" />
-
Re: Ferret.Sock + FileStream
I am finding the following issues.
1.
The file downloaded says this,
d4
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /files/testfile.txt was not found on this server.<P>
</BODY></HTML>
0
I don't think its a bug but the demo needs to work in order for me and others to test it.
Maybe try and pick a more perminent file or web page.
2. And when I compile the program I get an executable that doesn't work.
Which I suspect is because of the beta lock discussed in the other thread.
Suggestion - It might be worth adding a line of text saying "Beta - this extension is locked & will not compile correctly do not use for production!" Just in case it gets out in the wild.
3. Help files not linked yet.
4. For clickteam, comments in properties scrolls off and can't be read without resizing. Consider wrapping or adding automatic scrollbars.
5. Suggestion - Condition - On error doesn't have on either extension a "clear error" action. I'm not sure how you clear your errors in this extension, and how you would deal with more than one error at the same time.
Really nice extensions. I can see many people are asking for this type of thing in the forum.
It looks really thought out well..
-
Re: Ferret.Sock + FileStream
I am finding the following issues.
1.
The file downloaded says this,
d4
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /files/testfile.txt was not found on this server.<P>
</BODY></HTML>
0
I don't think its a bug but the demo needs to work in order for me and others to test it.
Maybe try and pick a more perminent file or web page.
2. And when I compile the program I get an executable that doesn't work.
Which I suspect is because of the beta lock discussed in the other thread.
Suggestion - It might be worth adding a line of text saying "Beta - this extension is locked & will not compile correctly do not use for production!" Just in case it gets out in the wild.
3. Help files not linked yet.
4. For clickteam, comments in properties scrolls off and can't be read without resizing. Consider wrapping or adding automatic scrollbars.
5. Suggestion - Condition - On error doesn't have on either extension a "clear error" action. I'm not sure how you clear your errors in this extension, and how you would deal with more than one error at the same time.
Really nice extensions. I can see many people are asking for this type of thing in the forum.
It looks really thought out well..