Perl DBI upload a csv file to Access database

2012-06-27 Thread Yu-Shan Wang
I try to upload a csv file to access database using perl DBI. But keep failing. The* number* and *type* of the field in csv file are not fixed. Might be integer or character. ( I was able to make it if they are fixed) ---start of code #connect t

Re: Net::OpenSSH failing in CGI

2012-06-27 Thread Rajeev Prasad
i was able to resolve that with creating a folder for www-data  under /home dont know how secure but thats what i could think of.. new problem is: Could not create directory '/var/www/.ssh'.\r Failed to add the host to the list of known hosts (/var/www/.ssh/known_hosts).\r Permission den

Net::OpenSSH failing in CGI

2012-06-27 Thread Rajeev Prasad
my $ssh = Net::OpenSSH->new($host,         user => "abc123",         ctl_dir => "/var/www/mysite.com/www/openssh_lib_home/"         ); ssh is not happening, when i catch the error, i get below: error:  ctl_dir /var/www/mysite.com/www/openssh_lib_home/ is not secure folder is : $ ls -l /var/ww