in reply to Re: Re: Uploading Files (Win32)
in thread Uploading Files (Win32)
Almost certainly.
Use the full path.
Use forward slashes / There is NO need to use backward slashes ever under Windows unless you specifically want to work through the cmd.exe or command.com shells (you don't).
Your current working directory os almost certainly NOT what you think it is which is probably causing the problem.
You don't show how you are opening the external file for writing. Try something like (untested):
--my $dir = 'C:/temp/web'; # or something like that my $localfile = "$dir/$filename"; open OUT, ">", $localfile or die "Cannot open $localfile for writing:$ +!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Uploading Files (Win32)
by Anonymous Monk on Feb 06, 2003 at 17:55 UTC |