in reply to Re^2: Perl FTP troubles
in thread Perl FTP troubles

Yes:

D:\junk>type EGLL.TXT 2016/04/16 10:20 EGLL 161020Z AUTO 34008KT 300V040 9999 -RA BKN011/// OVC023/// //////T +CU 06/02 Q 1004 TEMPO RA

Do you have appropriate permissions to create a file in the target path? I've also tested the following successfully:

$ftp->get("$station_name", "..\\$station_name") or die "failed to retrieve file $station_name - ", $ftp->message;

Replies are listed 'Best First'.
Re^4: Perl FTP troubles
by LClarke (Initiate) on Apr 16, 2016 at 19:02 UTC

    ...You nailed it. The script file didn't have write permissions.

    Thank you!