chdir isn't unique to each thread. If you chdir in one thread they all change.
Ah yes. I'd forgotten about that difference 'tween Windows and *nix.
You can't pass the full path to put ...
Really? Looking inside the module it does a sysopen which handles a fully qualified path just fine on my system.
... but, you can pass a file handle.
Anyway, glad you got a solution.
In reply to Re^3: Threaded or Forked FTP Backup with chdir
by BrowserUk
in thread Threaded or Forked FTP Backup with chdir
by Mimir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |