Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
To have more to go on you will have to listen on the event:
trans.ConnectionStatusChange.
event.Data will contain a FmdcException with more information about the error.

Or you could change the code in function "trans_ConnectionStatusChange" in 
class: "TransferManager" so it will give you more information about the 
exception.

Let me know what turns up.

Original comment by blomman84 on 20 Sep 2011 at 7:33

from flowlib.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
The e.data on that event only has "Exception of type 
'FlowLib.Utils.FmdcException' was thrown."

But if I change this code:
ContentInfo info = new ContentInfo(ContentInfo.FILELIST, BaseFilelist.UNKNOWN);
                            info.Set(ContentInfo.STORAGEPATH, currentDir + "Filelists\\" + usr.ID + ".filelist");
                            downloadManager.AddDownload(new DownloadItem(info), new Source(hub.RemoteAddress.ToString(), usr.ID));

to this:
ontentInfo info = new ContentInfo(ContentInfo.FILELIST, BaseFilelist.XMLBZ);
                        string id = FlowLib.Utils.Convert.Base32.Encode(System.Text.Encoding.UTF8.GetBytes(usr.StoreID.ToLower().Trim()));
                        info.Set(ContentInfo.STORAGEPATH, "filelists" + System.IO.Path.DirectorySeparatorChar + id + ".filelist");
                        info.Set("USR", usr.ID);
                        info.Set("FUNC", "cd");
                        downloadManager.AddDownload(new DownloadItem(info), new Source(hub.HubSetting.Address + hub.HubSetting.Port, usr.StoreID));

It downloads and gets an inactivity exception.

Original comment by [email protected] on 21 Sep 2011 at 5:53

from flowlib.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I get the same with verlihub 1.0.0:

IN: $Lock EXTENDEDPROTOCOL_verlihub Pk=version1.0.0
OUT: $Supports NoHello NoGetINFO |
OUT: $Key uÑÀ�° ��A ѱ±ÀÀ01’1qáP�Ñq|
OUT: $ValidateNick FlowLib|
IN: <VerliHub> This hub is running version 1.0.0 (lun lug 18 2011) of VerliHub 
(RunTime: 12 mins 57 secs  / User count: 1)
IN: $Supports OpPlus NoGetINFO NoHello UserIP2 HubINFO ZPipe
IN: $HubName hub
IN: $Hello FlowLib
OUT: $Version 1.0091|
OUT: $GetNickList|
OUT: $MyINFO $ALL FlowLib <ArpmanetBot V:1,M:A,H:1/0/0,S:2>$ $�$$0$|
IN: $MyINFO $ALL VerliHub Hub-Security for broadcasting messages$ $ $$0$
IN: $MyINFO $ALL OpChat Operator chat - only for OPs$ $ $$0$
IN: $MyINFO $ALL bofh <++ V:0.698,M:A,H:1/0/0,S:5>$ $100�$$193501733844$
IN: 
IN: <MOTD> 
This file contains the text that will be displayed to users upon entering the 
hub.
Change it to suit your needs or use the file trigger definition to store your 
motd.

Welcome to VerliHub

+rules      -- Display a list of hub rules.
+faq        -- Display a list of helpful links if you are having trouble.
+motd       -- Display this message.
+help       -- Display a list of all available commands to you.

Some usefull links for you:

* Verlihub homepage: http://www.verlihub-project.org
* Verlihub forums: http://www.verlihub-project.org/discussions
* Verlihub manual: http://www.verlihub-project.org/page

IN: $HubTopic 
IN: <VerliHub> 
[::] Your info: 
[*] Nickname                 FlowLib [GUEST]
[*] IP                       127.0.0.1
[*] Country Code             --

IN: $OpList VerliHub$$OpChat$$
IN: $MyINFO $ALL FlowLib <ArpmanetBot V:1,M:A,H:1/0/0,S:2>$ $�$$0$
OUT: $ConnectToMe bofh 127.0.0.1:12345|
    File:0, 65536/102458
    File:0, 36922/102458
DIS:127.0.0.143888FlowLib.Utils.FmdcException: Inactivity

Original comment by [email protected] on 21 Sep 2011 at 6:34

from flowlib.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Is the filelist that is downloaded complete?
Can you open it and see what files that was shared?

If the answer is * yes* to the above questions, everything is as it should be.
If there is no activity on the connection for X seconds it will be terminated.

Original comment by blomman84 on 23 Sep 2011 at 10:01

from flowlib.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Attached the downloaded filelist.

Original comment by [email protected] on 24 Sep 2011 at 9:56

Attachments:

from flowlib.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Sorry for being away for a while.
Well, I can't open that filelist..

Have you tried to connect to the latest dc++ version?
Have you tried the Passive examples? How did that work?

Original comment by blomman84 on 13 Oct 2011 at 6:47

from flowlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.