in reply to Re^7: File Open Error = 13?
in thread File Open Error = 13?

Okay, I think I know where we are not understanding each other. In my code
$ftp->get("$directory.thedir","C:\\temp\\ftp") || die "get failed ", $ftp->message;

"thedir" is the name of my file. It's not the real name of the file but I should have used a better name in my example. Sorry about that.

I have tried the following and still get the same error. The file does not have an extension.
$ftp->get("$directory.thefile","C:\\temp\\ftp") $ftp->get("$directory.thefile","C:\\temp\\ftp\\thefile") $ftp->get("$directory.thefile","C:\\temp\\ftp\\thefile.txt")

I didn't try them all at once but put them together here to save space.

Replies are listed 'Best First'.
Re^9: File Open Error = 13?
by ikegami (Patriarch) on Oct 28, 2009 at 22:48 UTC
    Then I don't know why you're getting an error, sorry.
      okay, thanks for trying.