Suggested code snippet(with comments):
A few more pointers:my $localfile = "$csvdir/$astfile"; # No need to "join", and "/" works + fine for windows too. -e $localfile or die "Error: '$localfile' does not exist"; # Existance verified - now we can "put" it
Syntactic sugar causes cancer of the semicolon. --Alan Perlis
In reply to Re: ftp->put file error
by NetWallah
in thread ftp->put file error
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |