in reply to Re: Net::FTP get problem
in thread Net::FTP get problem

poj Yes, this script runs on an Apache web server in an embedded Linux system. I've done a directory listing on the source directory and the requested file is there. Permissions are OK.

Replies are listed 'Best First'.
Re^2: Net::FTP get problem
by poj (Abbot) on Jul 28, 2017 at 20:56 UTC

    What do you get adding this line to your script after the $ftp->cwd($path) ?

    print join "\n",$ftp->dir();

    Try changing the destination path to /tmp

    $ftp->get($file,"/tmp/$file") or die sprintf "Could not get $file from $path ", $ftp->message;

    poj