Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-07-2006, 11:08 AM   #1
LQ Newbie
Registered: Mar 2005
Location: USA
Distribution: Mandrake
Posts: 19

Rep: Reputation: 0
Symbolic Links in Net::FTP::Recursive

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

  $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       
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/


Last edited by innuendo_98; 07-11-2006 at 10:36 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
symbolic links neocontrol Linux - Software 3 05-15-2006 01:08 AM
help with symbolic links sopiaz57 Linux - General 2 06-11-2004 07:17 PM
Symbolic Links petercool Linux - General 2 08-20-2003 12:15 PM
Symbolic links bkmesenbrink Linux - Newbie 2 11-13-2002 12:54 PM
symbolic links NoahsMyBro Linux - Newbie 1 11-16-2001 12:13 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration