can't see files in ftp folder (2 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)

    Effectively, it was a missing value to set the port if different from 21 (it happen on connection side) :)
    So can you try this attached core.dll (backup yours before) it was based on 1.2.1 Final.
    Seb.
     

    Attachments

    • Core_FTP_1.2.1.rar
      936.5 KB

    1stdead

    Portal Pro
    February 1, 2008
    1,089
    139
    Copenhagen
    Home Country
    Denmark Denmark
    Hi Sebastii..

    Something is wrong...?
    2011-11-22 15:44:12.169841 [Info.][MPMain(1)]: FTPConnection: Connect to ftp://IP:PORTwith user USER
    2011-11-22 15:44:14.492974 [Info.][MPMain(1)]: VirtualDirectory:unable to get remote folder:/ reason:Illegal PORT command. (code=500) ved EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String expectedReplyCode)
    ved EnterpriseDT.Net.Ftp.FTPControlSocket.SetDataPort(IPEndPoint ep)
    ved EnterpriseDT.Net.Ftp.FTPControlSocket.NewActiveDataSocket(Int32 port)
    ved EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketActive()
    ved EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocket(FTPConnectMode connectMode)
    ved EnterpriseDT.Net.Ftp.FTPClient.Dir(String dirname, Boolean full)
    ved EnterpriseDT.Net.Ftp.FTPClient.DirDetails(String dirname)
    ved EnterpriseDT.Net.Ftp.FTPClient.DirDetails()
    ved MediaPortal.Util.VirtualDirectory.GetDirectoryExt(String strDir)
    Or perhaps MP does not support connecting to servers in passive mode?


    coax: working for you?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi,
    It's working for me, i have setup ts dump public ftp (port 21) and one other on anoher port (diffrent from 21) and it working. But maybe something else is missing.
     

    1stdead

    Portal Pro
    February 1, 2008
    1,089
    139
    Copenhagen
    Home Country
    Denmark Denmark
    Yeah i can confirm that as well, just tested on another server.

    But most servers today run passive like:

    Command: PASV
    Response: 227 Entering Passive Mode (ip,191,34).

    But i guess MP does not support that?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    From ftpclient code, it seems that it can handle that but need somes changes on setting etc. to enable it :) So i think it's douable :)
     

    coax

    Portal Member
    February 23, 2011
    16
    0
    36
    Home Country
    Denmark Denmark
    config and mp stopped working after i replaced the core file, so i had to replace the old core file back again
     

    1stdead

    Portal Pro
    February 1, 2008
    1,089
    139
    Copenhagen
    Home Country
    Denmark Denmark
    coax: Are you running latest stable mediaportal ;)?

    Not according to log:
    2011-11-21 12:35:29.287266 [Info.][MPMain(1)]: Main: MediaPortal v1.1.3.0 is starting up on Windows 7 [6.1.7600.0]

    here it is:

    MEDIAPORTAL - Download MediaPortal for free!


    Please make backups and install. (its sooo much more stable and has fixed many bugs)


    Sebastiii: Cool!
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yeah i can confirm that as well, just tested on another server.

    But most servers today run passive like:

    Command: PASV
    Response: 227 Entering Passive Mode (ip,191,34).

    But i guess MP does not support that?

    Do you have a FTP for testing ?
    Thanks :)
    Seb.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    This is a new dll + config for testing (thanks Deda) it's based on MediaPortal 1.2.1 Final :)
    Could you try ?
    Seb. :)
     

    Attachments

    • Core_FTP_1.2.1_V2.rar
      2 MB

    1stdead

    Portal Pro
    February 1, 2008
    1,089
    139
    Copenhagen
    Home Country
    Denmark Denmark
    Hi Sebastii.


    I cannot get passive mode to work...

    2011-11-23 15:25:01.537963 [Info.][MPMain(1)]: VirtualDirectory: Error on ftp command ChDir Failed to change directory. (code=550)


    <entry name="sharetype2">yes</entry>
    <entry name="shareserver2">ip</entry>
    <entry name="sharelogin2">test</entry>
    <entry name="sharepassword2">test</entry>
    <entry name="shareport2">port</entry>
    <entry name="shareremotepath2">/</entry>
    <entry name="sharePasv2">yes</entry>
    <entry name="shareview2">0</entry>
    <entry name="sharescan2">no</entry>
    <entry name="sharename3">router</entry>
    <entry name="sharepath3">/</entry>
    <entry name="pincode3">
    </entry>
     

    Users who are viewing this thread

    Similar threads

    My problem is that I would like to switch from Kodi to Mediaportal. In Kodi, putting an Extras folder in the same folder as the movie automatically manages all the extras on the Bluray, so my library is organized in this way. Moving everything would be a very long job (I have more than 2800 movies), plus I would lose the Extras...
    My problem is that I would like to switch from Kodi to Mediaportal. In Kodi, putting an Extras folder in the same folder as the...
    Hello, is it possible to exclude some folders from the Moving Pictures scan? My movies are organized in separate folders...
    Replies
    4
    Views
    971
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    496
    Mistake
    Mistake
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    26
    Views
    4K
    MP1 MP2 1.31.0 Cannot view Changelog anymore DE
    Hi all, I don't frequently update my MediaPortal and before seeing if it's really useful I used to browse the Changelog to determine if this update is necessary for my system or not. Today I wanted to check the Changelog for version 1.34 (1.31 installed on my system) and I was asked for a “Jira” login. I tried to use the same one as...
    Hi all, I don't frequently update my MediaPortal and before seeing if it's really useful I used to browse the Changelog to...
    Hi all, I don't frequently update my MediaPortal and before seeing if it's really useful I used to browse the Changelog to...
    Replies
    0
    Views
    419
    If you remember, I wrote about it when tests because of x86/x64 problems
    If you remember, I wrote about it when tests because of x86/x64 problems
    Hia all, So, decided to setup a new client instance and getting fed-up with the tonne of bloatware and cr*p that comes with...
    Replies
    9
    Views
    857
    Top Bottom