download from ftp shares not working (1 Viewer)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    MediaPortal Version: 0.2.0.4
    Windows Version: Windows XP SP2
    CPU Type: AMD AthlonXP 3000+
    HDD: Samsung 200GB
    Memory: 512 MB DDR PC3200
    Motherboard: Asus A7N8X Deluxe
    Motherboard Chipset: Nvidia nforce2
    Motherboard Bios: Award 1008
    Video Card: WinFast A6600 GT TDH-128 (S-Video out)
    Video Card Driver: Forceware
    Sound Card: realtek
    Sound Card AC3: coaxial out/ optical out
    Sound Card Driver: 1.16
    1. TV Card: Technisat Skystar 2
    1. TV Card Type: DVB-S
    1. TV Card Driver: 4.4.0
    2. TV Card: no 2nd TV Card installed
    2. TV Card Type: no 2nd TV Card installed
    2. TV Card Driver: no 2nd TV Card installed
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: MPV
    MPEG2 Audio Codec: MPA
    Satelite/CableTV Provider: Astra 19.2°E
    HTPC Case: standard ATX case
    Cooling:
    Power Supply: Bequite 400W
    Remote: Microsoft MCE Remote
    TV: Panasonic 16:9
    TV - HTPC Connection: S-Video

    MediaPortal seems unable to download files from ftp shares.
    Tested with 0.2.0.0 final and SVN-Build Rev.10289

    1. configured FTP share
    View attachment 150
    2. started MediaPortal
    3. go to MyMusic
    4. open ftp share -> all folders displayed
    5. open one folder -> all mp3 files displayed
    6. click one mp3 file -> Do you want to download to local folder? -> Yes
    7. nothing happens -> local folder for ftp stays empty

    This is the log of the ftp server:
    FTP-Server-Log said:
    Wed, 13 Sep 2006 (23:53:28) - [sid=25715548] User MediaPortal logged in
    Wed, 13 Sep 2006 (23:53:28) - [sid=25715548] (192.168.123.101) changed dir to "/"
    Wed, 13 Sep 2006 (23:53:32) - [sid=25715548] (192.168.123.101) changed dir to "/Archiv"
    Wed, 13 Sep 2006 (23:53:33) - [sid=25715548] (192.168.123.101) changed dir to "/Archiv/0-9"
    Wed, 13 Sep 2006 (23:53:36) - [sid=25715548] (192.168.123.101) changed dir to "/Archiv/0-9/220 Volts"
    Wed, 13 Sep 2006 (23:53:39) - [sid=25715548] (192.168.123.101) changed dir to "/Archiv/0-9/220 Volts"
    Wed, 13 Sep 2006 (23:53:39) - [sid=25715548] (192.168.123.101) changed dir to "/Archiv/0-9/220 Volts"
    Wed, 13 Sep 2006 (23:53:39) - [sid=25715548] (192.168.123.101) changed dir to "/Archiv/0-9/220 Volts"
    Wed, 13 Sep 2006 (23:53:39) - [sid=25715548] Closing connection for 192.168.123.101 (None).
    it seems like MediaPortal isnt even trying to download the file.
    at the momet i try to download the file with MediaPortal, it is closing the connection to the ftp server.
    NO error message displayed or in the log.

    ***EDIT***
    It seems that this is only occuring if the FTP-Server is located in the LAN.
    I tried to add one of my webserver ftp's as share and this worked without any issues.

    On the local FTP-Server it is possible to copy files with an ftp-client (so the server works).
    If i manually add the file i want to download from the ftp share to the local ftp folder, MP is displaying this file as downloaded when browsing ftp share.
    playing this file works then too.

    so only downloading files from local ftp servers with MediaPortal seem to be broken.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    MediaPortal Version: MP 0.2.0.0 + latest available SVN
    Windows Version: Windows MCE + All Updates
    CPU Type: Intel Pentium D 940 3.2
    HDD: 3 x 250 GB Samsung HD
    Memory: 2 X Corsair 6400 DDR2 (2GB)
    Motherboard: Asus P5WD2-E Premium
    Motherboard Chipset: Intel 975X Express / Intel ICH7R
    Motherboard Bios: Asus V0601
    Video Card: Asus GeForce 7600GT 256MB GDDR3 Silent
    Video Card Driver: NVIDIA ForceWare 91.31
    Sound Card: Onboard Realtek ALC882M
    Sound Card AC3: Coaxial out
    Sound Card Driver: 5.10.0.5268
    1. TV Card: Hauppauge PVR-150 MCE
    1. TV Card Type: Analog
    1. TV Card Driver: 2.0.43.24103
    2. TV Card: Hauppauge HVR-1300 MCE
    2. TV Card Type: Analog + DVB-t(testing)
    2. TV Card Driver: 2.113.24030.0
    3. TV Card: TerraTec Cinergy 2400i DT MCE
    3. TV Card Type: DVB-T
    3. TV Card Driver: 1.0.3.255
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: Nvidia
    MPEG2 Audio Codec: Nvidia
    Satelite/CableTV Provider: CableTV + FTA (DVB-t)
    HTPC Case: Silverstone SST-LC18S
    Cooling:
    Power Supply: NorthQ 4775-500S, ATX 500W Silent
    Remote: MCE 2005 Europe (Hauppauge Clone)
    TV: B&O AvantDVD
    TV - HTPC Connection: Composite

    Tested with MP 0.2.0.0 + svn-09-13-2006--23-04-Rev10289

    Tested to connect to ftp & can get connected & see the song but as soon as it should download i get this message:

    Code:
    VirtualDirectory:unable to start download:Syntax error in parameters or arguments. (code=501)

    Regards
    Roy

    **note by infinityloop**
    ronilse tried to connect to my ftp server. running Blackmoon on Server2003.

    in the server log i get the following when he is trying to download the file
    FTP-Server said:
    Thu, Sep 14 (00:41:11) - 501 Syntax error in parameters or arguments.

    3 Things are interesting:
    1. if i try to download the file localy, MediaPortal is closing the ftp connection to the server when trying to download and no error was logged or displayed.

      when ronilse tried to download, the conection was not closed and an error was shown.
    2. downloading the file via browser worked without issues.
    3. MediaPortal is able to brows all folders, only downloading fails.

    Description 501:
    Syntax error in parameters or arguments. This may include errors such as command line too long.
     

    Koschel

    Retired Team Member
  • Premium Supporter
  • April 6, 2005
    1,044
    68
    Stuttgart
    Home Country
    Germany Germany
    MediaPortal Version: 0200 + todays svn
    Windows Version: Windows XP Pro SP2
    CPU Type: AMD X² 3800+ EE SFF
    HDD: Samsung 400GB
    Memory: 1GB DDR2 PC 6400
    Motherboard: Asus M2NPV-VM
    Motherboard Chipset: nForce 4
    Motherboard Bios:
    Video Card: nForce 6150 onboard
    Video Card Driver: nForce 91.
    Sound Card: ADI AD1986A High Difinition Audio
    Sound Card AC3: ADI AD1986A High Difinition Audio
    Sound Card Driver: 5.10
    1. TV Card: KNC1 Station
    1. TV Card Type: DVB-S
    1. TV Card Driver: 4.7.5.1
    2. TV Card: Hauppauge Nova S Plus
    2. TV Card Type: DVB-S
    2. TV Card Driver: 240.30
    3. TV Card: Terratec Cinergy 1200 DVB-S
    3. TV Card Type: DBV-S
    3. TV Card Driver: 4.81
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: MPV
    MPEG2 Audio Codec: MPA
    Satelite/CableTV Provider: Astra 19.2 E
    HTPC Case: HFX mCubed
    Cooling: all passive
    Power Supply: Silverstone SST ST30NF
    Remote: iMon
    TV: Fujitsu-Siemens Myrica V32-1
    TV - HTPC Connection: DVI

    Works here. My FTP is a LANDrive with integrated FTP. OS is Linux

    MediaPortal.log said:
    [noparse]
    14.09.2006 19:21:49 734 [Info.] ftp:connect to ftp://192.168.111.50:21
    14.09.2006 19:21:49 796 [Info.] ftp: download:Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:21:49 796 [Info.] ftp:reply:---> TYPE I
    14.09.2006 19:21:49 812 [Info.] ftp:Cmd :200 Type set to I.
    14.09.2006 19:21:49 812 [Info.] ftp:confused:tart Download:Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3->G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:21:49 812 [Info.] ftp: Transfer started Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3->G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:21:49 812 [Info.] ftp:reply:---> PORT 192,168,111,111,9,255
    14.09.2006 19:21:49 812 [Info.] ftp:Cmd :200 Command okay.
    14.09.2006 19:21:49 828 [Info.] ftp:reply:---> RETR Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:21:49 843 [Info.] ftp:Cmd :150 Opening BINARY mode data connection for Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3 (9670204 bytes).
    14.09.2006 19:21:52 484 [Info.] ftp:Cmd :226 Closing data connection.
    14.09.2006 19:21:52 484 [Info.] ftp: Transfer completed:Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3->
    14.09.2006 19:21:52 500 [Info.] ftp:download finished Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3->G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:22:14 828 [Info.] Playlist: add G:\NAS\Baz Luhrmann - Everybody's free.mp3
    14.09.2006 19:22:14 828 [Info.] Playlist: add G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:22:14 828 [Info.] PlaylistPlayer: Play - G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:22:14 828 [Info.] add cmd:MediaPortal.TV.Recording.StopRadioCommand #1
    14.09.2006 19:22:14 828 [Info.] Command:confused:top radio
    14.09.2006 19:22:14 843 [Info.] g_Player.Play(G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3)
    14.09.2006 19:22:14 843 [Info.] Command:MediaPortal.TV.Recording.StopRadioCommand time:15,625 msec
    14.09.2006 19:22:14 843 [Info.] Recorder: Card:Hauppauge WinTV Nova-T-USB (Stick) idle
    14.09.2006 19:22:14 843 [Info.] Core Audioplayer: playback started
    14.09.2006 19:22:14 859 [Info.] g_Player.OnStarted() G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3 media:Music
    14.09.2006 19:22:14 859 [Debug] GUITVCropManager.g_Player_PlackBackStarted: media: Music tv:False ts:False
    14.09.2006 19:22:14 859 [Info.] Visualization Window: OnPlayBackStarted caused an exception: Object reference not set to an instance of an object.
    14.09.2006 19:22:24 921 [Debug] MyMusic: failed to increase Top100 counter for G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3, g_player: G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:22:25 078 [Info.] Audioscrobbler plugin: database does not contain track - ignoring song: (Untitled)
    14.09.2006 19:22:25 078 [Debug] g_player: filename of current song - G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:22:40 078 [Info.] Audioscrobbler plugin: database does not contain track - ignoring song: (Untitled)
    14.09.2006 19:22:40 078 [Debug] g_player: filename of current song - G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    14.09.2006 19:22:55 078 [Info.] Audioscrobbler plugin: database does not contain track - ignoring song: (Untitled)
    14.09.2006 19:22:55 078 [Debug] g_player: filename of current song - G:\NAS\Dan Reed Network - Ritual (Extended Dido Slam Mix)1.mp3
    [/noparse]
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Tested with 0.2.0.0 + svn-09-15-2006--12-53-Rev10310
    My local setup works with the old method & connecting to i infinityloop now works after rtv's fix today.

    Nice Work!

    Regards
    Roy
     

    Users who are viewing this thread

    Top Bottom