Skip Menu |

This queue is for tickets about the Net-FTP-File CPAN distribution.

Report information
The Basics
Id: 108826
Status: resolved
Priority: 0/
Queue: Net-FTP-File

People
Owner: Nobody in particular
Requestors: Len.Isac [...] thomsonreuters.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't locate Net/FTP/File.pm
Date: Thu, 12 Nov 2015 15:18:54 +0000
To: <bug-Net-FTP-File [...] rt.cpan.org>
From: <Len.Isac [...] thomsonreuters.com>
Hi Daniel I don't think this is a bug in the module, but Perl is unable to locate the module after I install it. I wasn't able to find any help online. I installed the module successully via 'ppm install'. This installed the latest version 0.06, but I'm still getting a compile error: "Can't locate Net/FTP/File.pm in @INC" I'm using ActiveState Perl (v5.8.9 built for MSWin32-x86-multi-thread) on a Windows 7 machine. Net::FTP::File module seems better than the original Net::FTP and I'm having issues with that module copying a local file to a remote server, so I thought I would give this one a try as it seems to have more functionality. Please let me know and thank you for writing this module. Regards, Len Isac Perl Developer
This is likely to be more of a problem with your Perl environment than a problem with this module. This module installs cleanly on many platforms. This type of question is more appropriate for a forum such as StackOverflow or PerlMonks, which are very high traffic sites. You are likely to get quick responses there. If you didn't see any error messages during the install, search your drive for the File.pm file. If you do find it, you could add the directory to the @INC path using "use lib" (perldoc lib).
On Thu Nov 12 10:19:29 2015, Len.Isac@thomsonreuters.com wrote: Show quoted text
> Hi Daniel
Howdy Show quoted text
> "Can't locate Net/FTP/File.pm in @INC"
That just means the module does not exist in any of the paths contained in @INC. If it installed OK then it was just installed somewhere not included in @INC. You can add the path that File.pm is in to @INC (sans Net\FTP of course) but it'd probably be better in the long run to get your module installer and your perl setup the same. Show quoted text
> Please let me know and thank you for writing this module.
thanks!
Subject: RE: [rt.cpan.org #108826] Resolved: Can't locate Net/FTP/File.pm
Date: Thu, 12 Nov 2015 19:58:00 +0000
To: <bug-Net-FTP-File [...] rt.cpan.org>
From: <Len.Isac [...] thomsonreuters.com>
Hi Thanks for your reply. For some reason ActiveState's ppm did not install File.pm even though it said installation successful, still not sure why. I searched for the file and couldn't find it anywhere. So I installed the module via cpan which installed the .pm files (into a temp directory perl------------please-run-the-install-script------------) and I copied File.pm into C:\Perl\lib\Net\FTP It's working now :) Thank you, Len Isac Perl Developer Carswell, a Thomson Reuters business One Corporate Plaza 2075 Kennedy Road Toronto, ON M1T3V4 Phone: 4166497861 Len.Isac@thomsonreuters.com carswell.com thomsonreuters.com Show quoted text
-----Original Message----- From: Daniel Muey via RT [mailto:bug-Net-FTP-File@rt.cpan.org] Sent: November-12-15 2:54 PM To: Isac, Len Subject: [rt.cpan.org #108826] Resolved: Can't locate Net/FTP/File.pm <URL: https://rt.cpan.org/Ticket/Display.html?id=108826 > According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.
Show quoted text
> It's working now :)
cool Show quoted text
> Thank you,
you're welcome :)