in reply to Re^2: Net::FTP get problem
in thread Net::FTP get problem
What are the permissions on the directory that contains your script. Try this script in the same directory as your script to check the directory is writable to by your webserver
poj#!/usr/bin/perl # testwrite.pl use strict; use Cwd; print "Content-type: text/plain\n\n"; my $cwd = cwd(); if ( open my $fh,'>',$cwd.'/testwrite' ){ print "OK $cwd is writable" } else { print "ERROR $cwd is NOT writable" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Net::FTP get problem
by joedarock (Initiate) on Aug 01, 2017 at 11:07 UTC | |
by poj (Abbot) on Aug 01, 2017 at 17:26 UTC |