Subject: | Windows compatibility for the rput Command |
The rput() Command doesn't work under Windows 2000 Professional. Because the "ls -la" (used in the Recursive.pm) command doesn't return user/group like linux. So the rput funktion can't get a filelist to put.
Maybe it is possible to implement an windows/linux switch for the "ls -la" command.
thanks Clemens
Windows 2000 Professional
ls -la
total 1051
drwxrwxrwx 1 0 Sep 2 14:22 .
drwxrwxrwx 1 0 Sep 2 14:22 ..
drwxrwxrwx 1 0 Sep 2 13:39 asdasd
-rwxrwxrwx 1 537648 Sep 2 13:39 cgi-bin.rar
-rwxrwxrwx 1 539629 Sep 2 13:39 cgi-bin.rar2
drwxrwxrwx 1 0 Sep 2 13:39 olderdasdasd
-rwxrwxrwx 1 300 Sep 2 14:27 test
Debian
ls -la
insgesamt 1062
drwxrwxrwx 4 azubi azubi 1024 5. Sep 06:08 .
drwxr-xr-x 5 azubi azubi 1024 5. Sep 05:49 ..
drwxr-x--- 3 azubi azubi 1024 5. Sep 06:08 asdasd
-rw-r----- 1 azubi azubi 535674 5. Sep 06:08 cgi-bin.rar
-rw-r----- 1 azubi azubi 537648 5. Sep 06:08 cgi-bin.rar2
drwxr-x--- 3 azubi azubi 1024 5. Sep 06:08 olderdasdasd
-rw-r----- 1 azubi azubi 293 5. Sep 06:08 test