Thanks for replying Remi. I switched the ftp server into debug mode and captured the output of a failed run from vlc 0.9.4 on my ubuntu box, and then of a good run from vlc 0.8.6 on my wife's xp box. Both play the stream ok when it starts then I skip ahead and the failure occurs on vlc 0.9.4 but vlc 0.8.6 skips ahead fine. The logs were essentially the same so I'll only reproduce here the salient difference. It seems to me that the new vlc is merely failing to issue a REST ftp command after entering extended passive mode?(!)
Here is the ftpd debug output using vlc 0.9.4 on ubuntu intrepid when I skip ahead in the ftp stream and it fails:
Code: Select all
Finished loop with ret=-1, in_get=0, aborted=1, current @4876800
ftpd-topfield2659: retrieve: Transfer of /DataFiles/Scrubs (2008) - My Waste of Time.rec aborted @4876800
ftpd-topfield2659: <--- 426
ftpd-topfield2659: Transfer aborted. Data connection closed.
ftpd-topfield2659: command: ABOR
ftpd-topfield2659: <--- 225
ftpd-topfield2659: ABOR command successful.
ftpd-topfield2659: Received ABOR
ftpd-topfield2659: command: EPSV
ftpd-topfield2659: <--- 229
ftpd-topfield2659: Entering Extended Passive Mode (|||3205|)
ftpd-topfield2659: command: TYPE I
ftpd-topfield2659: <--- 200
ftpd-topfield2659: Type set to I.
ftpd-topfield2659: command: RETR DataFiles/Scrubs (2008) - My Waste of Time.rec
ftpd-topfield2659: retrieve: /DataFiles/Scrubs (2008) - My Waste of Time.rec @0
retrieve: srcpath=/DataFiles/Scrubs (2008) - My Waste of Time.rec, current=0, ret=-101
tf_cmd_get() returned -101
ftpd-topfield2659: <--- 550
ftpd-topfield2659: Not a file: DataFiles/Scrubs (2008) - My Waste of Time.rec
Finished loop with ret=-101, in_get=0, aborted=0, current @0
ftpd-topfield2659: command: ABOR
ftpd-topfield2659: <--- 225
ftpd-topfield2659: ABOR command successful.
ftpd-topfield2659: Received ABOR
ftpd-topfield2659: command: QUIT
ftpd-topfield2659: <--- 221
ftpd-topfield2659: Goodbye.
.. (and the stream fails)
Here is the ftpd debug output using vlc 0.8.6 on winxp when I skip ahead in the ftp stream and it succeeds:
Code: Select all
Finished loop with ret=-426, in_get=1, aborted=0, current @4212636
ftpd-topfield2737: retrieve: Transfer of /DataFiles/Scrubs (2008) - My Waste of Time.rec aborted @4212636
ftpd-topfield2737: <--- 426
ftpd-topfield2737: Transfer aborted. Data connection closed.
ftpd-topfield2737: command: ABOR
ftpd-topfield2737: <--- 225
ftpd-topfield2737: ABOR command successful.
ftpd-topfield2737: Received ABOR
ftpd-topfield2737: command: EPSV
ftpd-topfield2737: <--- 229
ftpd-topfield2737: Entering Extended Passive Mode (|||4375|)
ftpd-topfield2737: command: TYPE I
ftpd-topfield2737: <--- 200
ftpd-topfield2737: Type set to I.
ftpd-topfield2737: command: REST 170061063
ftpd-topfield2737: <--- 350
ftpd-topfield2737: Restarting at 170061063. Send STORE or RETRIEVE to initiate transfer.
ftpd-topfield2737: command: RETR DataFiles/Scrubs (2008) - My Waste of Time.rec
ftpd-topfield2737: retrieve: /DataFiles/Scrubs (2008) - My Waste of Time.rec @170061063
Note: request for data not on 512 byte boundary (170061063 % 512 == 263)
retrieve: srcpath=/DataFiles/Scrubs (2008) - My Waste of Time.rec, current=170060800, ret=0
ftpd-topfield2737: <--- 150
ftpd-topfield2737: Opening BINARY mode data connection for 'DataFiles/Scrubs (2008) - My Waste of Time.rec' (2504581120 bytes).
Created data connection: fd=8
Trying to write to 64761 bytes to the client
Waiting for write for 2 seconds
.. (and the stream plays ok from the new position)
I can post the complete logs if you need them.