in reply to Taking file from current working directory

simple, just leave away the path part
my $listener = Net::TFTPd->new('RootDir' => 'filename',...);


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Taking file from current working directory
by mosh (Scribe) on May 23, 2005 at 12:16 UTC
    Nope,

    I've already tried it without success, I've got an error message:
    "Cannot create listener. RootDir '1.txt' is not a valid directory name

    Any other ideas ?

    I need somehow to write the current working directory...

    Mosh.

      Try
      my $listener = Net::TFTPd->new('RootDir' => './',...);
      Update:
      Ah, I misread the OP.


      holli, /regexed monk/