my $host1='myhost'; my $user1="user"; my $pw1="pwd"; my $path = 'MY.FILE.NAME'; my $dataFile="MY.FILE.NAME\.csv"; my $mffile = '\'MY.FILE.NAME\''; #### Pull file off mainframe #### $ftp=Net::FTP->new($host1, Debug => 1); $ftp->login($user1,$pw1) or die "could not login to $host1"; $ftp->cwd($path) or die "could not cwd $path"; # change to incoming + directory $ftp->get($mffile) or die "could not get $file";
In reply to Net::FTP seems to be corrupting my file by boat73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |