Does anyone have experience with symbolic links and the transfer through ftp in perl?, the directory where I'll be transfering won't be always a symbolic link, and I need to distinguish between them. Here is the code that I was using before I encountered the links
Code:
$ftp = Net::FTP::Recursive->new($config{'host'}, Debug => 1);
$ftp->login( $config{'user'}, $config{'pass'});
$ftp->cwd( $config{'trgt'}."/".$client); # This time i'll be transfering into xyz
$ftp->binary();
$ftp->rput();
$ftp->quit;
where the $config{'trgt'} would look something like this :
lrwxrwxrwx 1 test test 21 Jul 7 08:06 xyz -> /home/drive2/data/xyz/
drwxrwxr-x 8 test test 4096 Jun 14 2005 abc/
Thanks,