We curently use the below to do FTP. We have been advised that we need to use Secure FTP so just need a code example that will work on Windows Active State Perl 5.18 64bit and if other modules are required, they can be installed with cpan without any issues. We use mingw64 cc compiler.
Exsiting code - we want exactly the same but using secure FTP instead in Perl.
my $ftperr = 0;
my $ftp_site = '$site';
my $ftp_dir = '$dir';
my $ftp_user = '$user';
my $ftp_password = '$password';
my $glob = '*.csv';
my $ftp = Net::FTP->new($ftp_site) or $ftperr = 1;
$ftp->login($ftp_user, $ftp_password) or $ftperr = 2;
$ftp->cwd($ftp_dir) or $ftperr = 3;
@remote_files = $ftp->ls($glob);
foreach my $file (@remote_files)
$ftp->get($file) or $fte = 1;
$ftp->put($completedlogfile) or $ftperr = 4;
Payment will be on succesfull test of Perl code by ourselves on our server. Please do not ask us questions regarding Perl syntax, etc. as we are here for a solution, not to teach Perl.
18 freelancers are bidding on average £155 for this job
i know perl very well and i only need milestone not any pay relese you can relese pay once you will check thanks Relevant Skills and Experience perl,python, django Proposed Milestones £196 GBP - 196
Hello,Sir! I am full expert in developing python and perl programming. I am very interested in your project and I can do it on time perfectly. I will work very hard and best for you . Best Regards.
hello, I have lots of experience in perl. I can update your code to work with sftp. we need to install/ update some package as u mentioned. I will be able to do it within a day hopefully. thanks,
Hi, Relevant Skills and Experience I'm an senior systems architect and a developer, I work in datacenter. Proposed Milestones £222 GBP - Code is ready for testing. Thanks, Saravanan