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

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    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,523
    10,466
    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,523
    10,466
    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
    38
    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,523
    10,466
    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,523
    10,466
    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

    PS: But maybe the MP2 team will be back tomorrow, and development and bug fixes will continue. Time will tell.
    PS: But maybe the MP2 team will be back tomorrow, and development and bug fixes will continue. Time will tell.
    Hi, Help Please. I've got several FLAC audio files that play OK on my PC, and my HTPC, via: Media Player / Windows Media Player /...
    Replies
    8
    Views
    720
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its database". Anyway, I found a way to do this which was far from automated but relatively low effort. I found what looked like all the images (CD covers, DVD covers, backgrounds etc all lumped together in...
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its...
    I am in the process of setting up a legacy media player (Mede8er) which I happened to have laying around into my home cinema setup...
    Replies
    2
    Views
    411
    Are the media/video folders on the Mint host?
    Are the media/video folders on the Mint host?
    I've used Mediaportal for years on a Windows Host with restricted online-access. Lately I reinstalled...
    Replies
    1
    Views
    1K
    MP1 MP2 1.38 Titan Skin Bug DE
    I fixed the bug, the file menu should work again now! You just need to copy the attached DialogFile.xml to the Titan folder and the graphic files to the corresponding media folder! ;) There also seems to be a problem with the background displayed, which @ajs might be able to fix! ;)
    I fixed the bug, the file menu should work again now! You just need to copy the attached DialogFile.xml to the Titan folder and the...
    MP 32bit 1.38.003 A bug is in the videos section. I use the folder-view. When I try to move a file to another folder, I get the...
    Replies
    9
    Views
    3K
    OK....perhaps impatient of me I know, but went for a full reinstall....and now up and running once more. Have no idea what was at the root of this problem....still wondering if it may've been due to a Win11 update earlier this week?
    OK....perhaps impatient of me I know, but went for a full reinstall....and now up and running once more. Have no idea what was at...
    Have used MP1.38 64 successfully since it's introduction.....now something has changed. Video folders are still present.....but now...
    Replies
    3
    Views
    2K
    Top Bottom