Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftpii 0.0.20/0.0.21 do not work in passive mode #95

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments
Open

ftpii 0.0.20/0.0.21 do not work in passive mode #95

GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What version of ftpii are you using?
0.0.21

What steps will reproduce the problem?

Scenario 1:

1. Start ftpii with Homebrew Channel
2. Start ftp on my Linux Box, and give random username and password
3. Give command "passive" from FTP client
4. Give command "ls" from FTP client

I would expect to get the list of supported file systems. Instead, the FTP
client waits for a reply from the server until timeout occurs. On the wii
console I get the following messages:

Got command: PASV
Listening for data connection at 192.168.2.102:1024
Wrote reply: 227 Entering Passive Mode (192,168,2,102,4,0)

and nothing else until client disconnects.

Scenario 2:

1. Start ftpii with Homebrew Channel
2. Access ftpii from Firefox 3.5

I would expect  to get the list of supported file systems. Instead I don't
get any output. On the Wii console I have a list of command issued by
Firefox, which ends in

Got command: PASV
Listening for data connection at 192.168.2.102:1024
Wrote reply: 227 Entering Passive Mode (192,168,2,102,4,0)
Got command: CWD /
Wrote reply: 250 CWD command successful
Got command: LIST
Wrote reply: 150 Transferring data.
Waiting for data connections...

After some time, I get

Time out waiting for data connection.
Wrote reply: 520 Closing data connection, error occured during transfer.

Please provide any additional information below.

It used to work in ftpii 0.19, but was already broken in 0.20. I don't know
whether it is relevant, but I use DVDx with cIOS 202 r2 and wired
connection trough the Nintendo USB adaptor.


Original issue reported on code.google.com by gianluca...@gmail.com on 7 Mar 2010 at 4:07

@GoogleCodeExporter
Copy link
Author

I tried to compile ftpii 0.0.19 by myself, with the new devkitpro and libogc 
(and
also the latest version of libwod, libfst, etc..). I had to change a couple of 
lines
of code in fs.c. Using my build, passive mode does not work! 

Would it possible to compile 0.0.21 with the same libogc used in 0.0.19, to 
check if
this makes passive mode works?

Original comment by gianluca...@gmail.com on 7 Mar 2010 at 11:57

@GoogleCodeExporter
Copy link
Author

It works! It seems the problem was my installation of DVDx using cIOS 202: I
reinstalled DVDx using the new HackMe installer and now ftpii 0.0.21 works in 
passive
mode, too (although I cannot read standard DVD anymore). 

Original comment by gianluca...@gmail.com on 11 Mar 2010 at 8:44

@GoogleCodeExporter
Copy link
Author

Seems that ftpii is not function correctly without a good DVDx.

But in hackmii installer v0.7, it deletes DVDx.  File cannot list under PASV, 
and file cannot transfer.

After I install DVDx with hackmii v0.6, the function is back to normal again.

HBC is using IOS61 21.29, the version of ftpii is 0.21

Original comment by priv...@gmail.com on 28 Jul 2010 at 3:31

@GoogleCodeExporter
Copy link
Author

According to this: http://forum.wiibrew.org/read.php?17,57188,57188 it should 
be very easy to fix by just changing to the correct (new) title ID for HBC. 
Anyone care to give it a go?

Original comment by gert...@gmail.com on 13 Nov 2010 at 8:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant