PDA

View Full Version : Pb with Symbolic Link


MadCowAss
06-02-2003, 06:11 PM
When ioA (last version) creates a today-mp3 symbolic link, all is fine in .ioFTPD, but when i browse the link with flashFXP or SmartFTP or https, the path is still the older (yesterday dir). If I restart ioFTPD all is fine.
I test also by changing myself the .ioFTPD (through explorer) : same pb.

Is someone can help me ? or is it a bug ?

I'm on w2k SP3, NTFS.

Sup3rm4n
06-03-2003, 11:40 AM
im having exactly the same problem, only solution i have found is to manually execute the newday.exe then it works...

btw could it be possible to chmod using vfs instead of physical dir, because i use two differenrent script for creating day dir and symlink!!!

MadCowAss
06-03-2003, 12:48 PM
In a command line I have this output:

!vfs:add 777 0:0 NULL
!vfs:chattr 1 "NULL" "/Appz/06-04"
!putlog NEWDATE: "/Appz/06-04" "Appz" "Appz" "f:\appz\06-04"
!vfs:add 777 0:0 f:\appz\06-04
!vfs:add 777 0:0 f:\FTP\today-mp3
!vfs:chattr 1 "f:\FTP\today-mp3" "/MP3/0604"
!putlog NEWDATE: "/MP3/0604" "MP3" "MP3" "j:\MP3\0604"
!vfs:add 777 0:0 j:\MP3\0604

(no symlink for Appz)

I don't see where a error could be...

darkone
06-03-2003, 07:28 PM
See if you have 'case' differences between paths in ioA config and ioFTPD .vfs files... also try adding '\' char to end of paths, in ioA (I think they might be needed) When you get it working (in this case, it's not if :)), report to me which of these two solutions fixed it.

MadCowAss
06-04-2003, 01:39 PM
well my vfs :

"F:\FTP\" /
"J:\MP3" /MP3
"J:\MP3_Archives" /MP3_Archives
"F:\Appz" /Appz
"K:\DivX" /DivX
"G:\Rip_DVD" /Rip_DVD
"F:\Rlz_Team" /Team
"H:\Requests" /Requests
"H:\Uploads" /Uploads
"G:\Gamez" /Games

My ioA config :

Area=Appz|Appz|f:\Appz\%M-%D\|/Appz/%M-%D|0|NULL
Area=MP3|MP3|j:\MP3\%M%D|/MP3/%M%D|0|f:\FTP\today-mp3

Even if I do
Area=MP3|MP3|j:\MP3\%M%D|/MP3/%M%D|0|f:\FTP\today-mp3\
it didn't work...
Remember : .ioFTPD is fine, but if I don't restart ioFTPD the link is not refreshed (work also if I rename the link).

I try every possibility of bad config, and nothing...

darkone
06-04-2003, 10:06 PM
in .vfs you have F: while in ioa config you have f:...

MadCowAss
06-05-2003, 02:17 PM
I already try this :)

Area=Appz|Appz|F:\Appz\%M-%D|/Appz/%M-%D|0|NULL
Area=MP3|MP3|J:\MP3\%M%D|/MP3/%M%D|0|F:\FTP\today-mp3

No change :(

I repeat : my .ioftpd in my today-mp3 is fine (good path eg /MP3/0605 ), but i have to restart ioFTPD or rename the dir for updating virtual link....

b>d>>s
06-05-2003, 07:18 PM
all i can suggest is to use ioNewDay.exe from ioZS

darkone
06-06-2003, 12:35 AM
Try padding paths with '\' char in config..

MadCowAss
06-06-2003, 11:35 AM
@darkone : i've tried all possibilities for path and nothing ....
e.g
Area=Appz|Appz|F:\Appz\%M-%D\|/Appz/%M-%D|0|NULL
Area=MP3|MP3|J:\MP3\%M%D\|/MP3/%M%D|0|F:\FTP\today-mp3\
or
Area=Appz|Appz|F:\Appz\%M-%D|/Appz/%M-%D|0|NULL
Area=MP3|MP3|J:\MP3\%M%D\|/MP3/%M%D|0|F:\FTP\today-mp3
or
Area=Appz|Appz|F:\Appz\%M-%D|/Appz/%M-%D|0|NULL
Area=MP3|MP3|J:\MP3\%M%D|/MP3/%M%D|0|F:\FTP\today-mp3\

@b>d>>s : I will try this Monday ;)

darkone
06-06-2003, 01:24 PM
k.. I think I need to make my code more robust :) even minor difference in way script sends path & io reads it, causes such problem as this

zpr
06-06-2003, 02:59 PM
madcowass, hm try that:

Area=Appz|Appz|F:\Appz\%M-%D|/Appz/%M-%D|0|NULL
Area=MP3|MP3|J:\MP3\%M%D|/MP3/%M%D|0|NULL

i'm using newday from iozs. pre works

MadCowAss
06-06-2003, 04:29 PM
Same pb with IONewday.exe ... .ioFTPD is looking fine, but no update for symbolic link ....

It's looking weird ...

@darkone : perhaps I had done a mistake something if it's the same thing with ioNewday ....
If not, THX you for intending to fix the pb :)

WarC
06-07-2003, 06:06 AM
Hmm,

I helped some folks with this using both ioA and ioNewDay. All cases have been that there is some differences in case of paths. Perhaps not obvious differences but small ones that does make it not work as supposed to.

MadCowAss
06-09-2003, 03:07 PM
OK WarC I will check once again ... ;)