Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-01-2004, 06:34 PM   #1
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default list -la?

seems to me list -la doesn't show hidden files, but instead it hides .* files


..i always thought -la showed hidden files
mr_F_2 is offline   Reply With Quote
Old 02-01-2004, 06:40 PM   #2
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

ioFTPD hides all files beginning with "." by default (*as I think*) that's why u can't see them no matter if u do list or list -al

edit: all files beginning with .ioftpd are automatically hidden by ioFTPD
wooolF[RM] is offline   Reply With Quote
Old 02-01-2004, 07:32 PM   #3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Hmms, it shouldn't hide hidden files... i think... or did i add that
darkone is offline   Reply With Quote
Old 02-01-2004, 08:52 PM   #4
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

wooolF[RM]: it hides .ioFTPD and .ioFTPD.message

but doesn't hide (for example)
.raceinfo
.speed

..etc
which makes sense.. but list -la shouldn't BLOCK these from being shown, as a lot of people have their ftp clients set to list -la

can u fix this d1?
mr_F_2 is offline   Reply With Quote
Old 02-01-2004, 09:17 PM   #5
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

It only hides files beginning with .ioFTPD

.raceinfo
.speed

Should be:

.ioFTPD.raceinfo
.ioFTPD.speed

Also:

Unless your temp files start with .ioFTPD, you'll need a PRE RMD script to remove the temp files. ioFTPD should delete all files beginning with .ioFTPD when the directory is removed, so you wouldn't need a PRE RMD script.
neoxed is offline   Reply With Quote
Old 02-01-2004, 10:04 PM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Yep, .ioFTPD* files are hidden/unretrievable on purpose. Everything else should be, and is visible.
darkone is offline   Reply With Quote
Old 02-01-2004, 10:09 PM   #7
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by NeoXed
It only hides files beginning with .ioFTPD

.raceinfo
.speed

Should be:

.ioFTPD.raceinfo
.ioFTPD.speed

Also:

Unless your temp files start with .ioFTPD, you'll need a PRE RMD script to remove the temp files. ioFTPD should delete all files beginning with .ioFTPD when the directory is removed, so you wouldn't need a PRE RMD script.
ahh! thanks for the tip!
mr_F_2 is offline   Reply With Quote
Old 02-02-2004, 05:24 AM   #8
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

Quote:
Originally posted by mr_F
wooolF[RM]: it hides .ioFTPD and .ioFTPD.message

but doesn't hide (for example)
.raceinfo
.speed

..etc
do people have problems reading plain english?
Quote:
Originally posted by wooolF[RM]
ioFTPD hides all files beginning with "." by default (*as I think*) that's why u can't see them no matter if u do list or list -al

edit: all files beginning with .ioftpd are automatically hidden by ioFTPD
wooolF[RM] is offline   Reply With Quote
Old 02-02-2004, 11:18 AM   #9
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by wooolF[RM]
do people have problems reading plain english?
that's pretty unecessary...
The thing about the .ioFTPD* files isn't something i can just guess, I had to ask about it.

as for your responses, they were helpful in that I can now have my files be labeled ".ioFTPD.*" to have them be hidden, but there is a problem in ioFTPD which I think i've mentioned 3 times already.

if users use list -la .* files (NOT .ioFTPD.* files) are not displayed!

I know that a lot of people have their FTP clients set to use list -la, and these people, if trying to delete a dirtectory, will not see the what should be visible .* files but won't unless they use "list" without the "-la".

even further, an example:

/somedir/
list -la
somefile.file


/somedir/
list
somefile.file
.speed

do you understand?
mr_F_2 is offline   Reply With Quote
Old 02-02-2004, 01:31 PM   #10
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

my last post had only 1 purpose : to show you that u have explained me something that I've allready explained in this thread 2 hours before your post (the edited part of my 1st reply)... nothing else, nothing more...

I see rest of your problem now, but at the time of my reply that problem wasn't stated clear enough (for me at least).

Regards
wooolF[RM] is offline   Reply With Quote
Old 02-02-2004, 02:30 PM   #11
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Indeed.

The -a parameter, in LIST and STAT, seems to HIDE .* files, instead of the other way around.

That's probably the problem (dark).
Mouton is offline   Reply With Quote
Old 02-06-2004, 03:17 PM   #12
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

fixed in upcoming version.
Mouton is offline   Reply With Quote
Old 04-26-2004, 01:36 AM   #13
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Ok, I have a question regarding this so I'll post here instead of creating a new thread.

Is there a script/utility/method to convert:

.raceinfo
.speed
.message

to:

.ioFTPD.raceinfo
.ioFTPD.speed
.ioFTPD.message



Because I've been using nRsfv script for some time (very nice script I might add) with RainManFTPD and I'd like to save my dir stats and have the files hidden properly when people browse dirs in ioFTPD (right now these files are being shown because they're not prefixed by .ioFTPD*).

Also, I tried to edit them by hand using Explorer gui but Windows whines "you must type a file name" due to nothing in the file name before the "." so hopefully there's some other way to do this!

Thanks!
PopWeasel is offline   Reply With Quote
Old 04-26-2004, 03:41 AM   #14
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

heh
it's your lucky day.
I'm the programmer of nRsfv.

there have been many internal changes since i stopped developing nRsfv under raidenftpd, and three obvious external changes, you'll find this in the ini file:

Code:
[ioFTPD]
LINK_INCOMPLETE=1
OWNERUSR=0
OWNERGRP=0
1st line, 1 = make parent link to incomplete, 0 = off
2nd line, set UID to chmod headers to
3rd line, set GID to chmod headers to.

other than that, the setup is the same and an ioftpd setup instruction set is included with.

see attatched rar (moderator will need to approve it)

as for renaming the already existing files on your drive, just open a command prompt in any given folder and type:
ren .message .ioFTPD.message
...etc
mr_F_2 is offline   Reply With Quote
Old 04-26-2004, 04:08 AM   #15
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Cooll mr_F, I am definately planning on checking out the latest version of nRsfv for ioFTPD. It's been a great sfv/stats script for me.

I was wondering if this might be possible. I saw somewhere a DelACL script, I think it was by FTPServerTools. It let you recursively go through and del all your .raidenftpd.acl files. Would it be possible to alter the function from del to ren and specify the file name to ren from and the file name to ren to? Cause I have billions of these files and it would genuinely suxx0r to have to do them all by hand. Hum, I wonder if there is a way to do that in dos..

Edit: DelACL isn't on FTPServerTools page so googling for it shows that one is yours too. http://nrscripts.staghosting.com/rdn-scripts.htm

u da man!:banana:
PopWeasel is offline   Reply With Quote
Reply

Tags
files, hidden, hides, list, showed

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:17 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)