in reply to Re^2: ftp->put file error
in thread ftp->put file error

I have tried hard coding the file name and path and get the same results, I have tried the following:
$astfile = 'c:/FTP_Scripts/xml-ast-convert/NYPH-20101101-210000.ast';
$astfile = "c:/FTP_Scripts/xml-ast-convert/NYPH-20101101-210000.ast";
$astfile = 'c:\\FTP_Scripts\\xml-ast-convert\\NYPH-20101101-210000.ast';
$astfile = 'c:\FTP_Scripts\xml-ast-convert\NYPH-20101101-210000.ast';
all of these fail the same way

Replies are listed 'Best First'.
Re^4: ftp->put file error
by salatconed (Initiate) on Dec 02, 2010 at 15:21 UTC
    OK, out of desperation I tested against a different FTP server and that one works fine.
    Is there a different FTP module I could try or can I get a more descriptive error from Net::FTP?
    OK Mistery solved, I was trying to put files into a directory with read only access. Thanks for the help