Hi,
My project environment:
- Windows XP, SP3
- VC++ 6.0
- Console project
Now I'm make a FTP server.
Actually this FTP server project will work as streaming to VLC.
When I test with cerberus FTP server, works fine.
<log from="" cerberus="" ftp="">
2010/09/16 21:03:38 [1] Incoming connection request on interface 0 at 192.168.0.171
2010/09/16 21:03:38 [1] FTP Connection request accepted from 192.168.0.171
2010/09/16 21:03:38 [1] USER young
2010/09/16 21:03:38 [1] 331 User young, password please
2010/09/16 21:03:38 [1] PASS ***********
2010/09/16 21:03:38 [1] Native user 'young' authenticated
2010/09/16 21:03:38 [1] 230 Password Ok, User logged in
2010/09/16 21:03:38 [1] EPSV ALL
2010/09/16 21:03:38 [1] 229 Entering Extended Passive Mode (|||11058|)
2010/09/16 21:03:38 [1] TYPE I
2010/09/16 21:03:38 [1] 200 Type Binary
2010/09/16 21:03:38 [1] SIZE astro.avi
2010/09/16 21:03:38 [1] 213 523226886
2010/09/16 21:03:38 [1] EPSV
2010/09/16 21:03:38 [1] 229 Entering Extended Passive Mode (|||11059|)
2010/09/16 21:03:38 [1] TYPE I
2010/09/16 21:03:38 [1] 200 Type Binary
2010/09/16 21:03:38 [1] RETR astro.avi
2010/09/16 21:03:38 [1] 150 Opening data connection
But when I test with my FTP server, not comes command anymore after "TYPE I" as following log messages from my FTP.
<log from="" my="" ftp="" server="">
VLC -> FTP>USER steve
FTP -> VLC>331 user steve OK, need password
VLC -> FTP>PASS 12345
FTP -> VLC>230 User logged in, processed
VLC -> FTP>EPSV ALL
FTP -> VLC>229 Entering Extended Passive Mode (|||11000|)
VLC -> FTP>TYPE I
FTP -> VLC>200 Type set to I
VLC -> FTP> SIZE a.avi
FTP -> VLC>213 523226886
VLC -> FTP>EPSV
FTP -> VLC>229 Entering Extended Passive Mode (|||11001|)
VLC -> FTP>TYPE I
FTP -> VLC>200 Type set to I
And after few seconds, display error message "can not open stream, VLC can not open MRL 'ftp://192.168.0.171/a.avi'.
If somebosy know why VLC not send command RETR, please advice me.
Thanks,