PDA

View Full Version : FTP files disappeared



eugen
18-01-2005, 00:41
I have USB flash in my wl-500g, where are some files.
These files are normally visible in Samba. But If I log to FTP, then there is no files (blank dir). This is same when logging to FTP from LAN or WAN(internet).

I have Olegs "3b" firmware in HGate Mode. FTP is enabled at port 21. In FTP setting is anonymous user and superuser access disabled. So I have defined Users and their access in "User Account List" below.

I tried some tricks with port redirecting but no results.
The only way to see some files in FTP is for example to allow superuser login ...but why? bug ? any Solution?

Thank for answer.

Styno
18-01-2005, 08:22
What filesystem do you have on the flash pen? It's known for FAT32 that, if the filesystem is corrupt, files are shown with 0 byte size which happens quite a lot on my USB HDD.

Spot
18-01-2005, 09:06
I have USB flash in my wl-500g, where are some files.
These files are normally visible in Samba. But If I log to FTP, then there is no files (blank dir). This is same when logging to FTP from LAN or WAN(internet).

I have Olegs "3b" firmware in HGate Mode. FTP is enabled at port 21. In FTP setting is anonymous user and superuser access disabled. So I have defined Users and their access in "User Account List" below.

I tried some tricks with port redirecting but no results.
The only way to see some files in FTP is for example to allow superuser login ...but why? bug ? any Solution?

Thank for answer.

Do you know that users defined in the user account list may only access a specific directory?

\ftp_pvt\"user name".

So, they can't access the root.

eugen
18-01-2005, 10:16
What filesystem do you have on the flash pen? It's known for FAT32 that, if the filesystem is corrupt, files are shown with 0 byte size which happens quite a lot on my USB HDD.

Styno: I have FAT32 filesystem, but files arent corrupt. Because in Samba everything works ok. In FTP there are no files (I didnt mean zero-length files).


Do you know that users defined in the user account list may only access a specific directory?

\ftp_pvt\"user name".

So, they can't access the root.

Spot:
This should be "core" of the problem. Its true,that files for particular user are shown in his "\ftp_pvt\"user name"" folder.

So is there any possibility to access root of USB from FTP (with checked options - superuser a anonymous login disabled) ??
I thought about changing some config file over telnet, but I dont know which file/option (Im a newbie in Linux) ??