LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-07-2006, 11:08 AM   #1
innuendo_98
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

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,

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


Reply


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:40 PM.

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