can't see files in ftp folder (1 Viewer)

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
    35
    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

    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    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
    24
    Views
    1K
    MP1 MP2 [solved] usb tuner not listed DE
    Installed LAV filters and codec and now it works,
    Installed LAV filters and codec and now it works,
    New install win 11. have hauppauge 955q usb tuner astc. I see it in device manager under sound video game controllers. i did...
    Replies
    1
    Views
    402
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
    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
    2
    Views
    364
    MP1 MP2 1.32 StreamedMP Latest Music DE
    No one can help me here?
    No one can help me here?
    In StreamedMP I have the most recently added films (Moving Pictures) and also TV recordings on the home screen. But I made the...
    Replies
    5
    Views
    616
    Yup....I've always set it to shares :) .....and just to repeat....all good in 1.30...!
    Yup....I've always set it to shares :) .....and just to repeat....all good in 1.30...!
    Have used MP1 for some years now....and without problems :) Problem now....is that I can see my Video folders....but they won't...
    Replies
    12
    Views
    1K
    Top Bottom