Okay, I think you need to provide more clarification here, then.
Original Message:
Sent: Jun 27, 2024 01:29 AM
From: s ziaullah
Subject: Connecting to the SFTP server
Hi @Daryl Brown,
We don't have any Agent installed in the SFTP Server.
this is the user requirement to do the Automation. Is there anyway to connect to the SFTP server without agent installed ?
Thanks & Regards,
Shaikh
Original Message:
Sent: Jun 26, 2024 12:33 PM
From: Daryl Brown
Subject: Connecting to the SFTP server
You're referring to a "shell script", so I assume that means you'll be running this job on a unix agent?
1 - Connect to sftp server -- presumably you have an agent installed on the sftp server in question? if so, you would just configure your job to run against that particular agent.
2 - Convert the excel into csv -- this isn't core Automic functionality; you'd probably need to google for a way to do this. Something like this could work: https://stackoverflow.com/questions/10557360/convert-xlsx-to-csv-in-linux-with-command-line
3 - Copying the data from csv file -- you'll need to be more explicit about what you mean by this. Copy what data? Copy it where?
4 - Insert the csv file data into the DB table -- Presumably you have the DB login info you need here already? You didn't mention what kind of DB you're dealing with or what DB tools you'd have access to, so this is not something I can answer. (e.g., is sqlldr an option here? Or are we just doing a single row insert here? I would look to your DBA for some pointers here.)
Original Message:
Sent: Jun 26, 2024 09:39 AM
From: shaik mahammed ziaullah
Subject: Connecting to the SFTP server
Hi Team,
Can any one please provide the shell script to connect to the sftp server with below requirement-
1) Connect to sftp server
2) Convert the excel into csv
3) Copying the data from csv file
4) Insert the csv file data into the DB table.
Thanks & Regards,
Shaikh