in reply to Re: Net::FTP get function question
in thread Net::FTP get function question

thanks! actually, i found a easier way, just as Illuminatus said, in the the second argument, LOCAL_FILE, i just have to indicate the whole path where i want to save the file and append the file name after it, it would work.

my code: <code> $ftp -> get ($file_name, "/home/xiaoyao/Desktop/updating_files/" . $file_name ) or die "get $file_name failed: " . $ftp -> message() ; <code>

Thanks any way.