curl / Mailing Lists / curl-users / Single Mail


curl FTP

From: Seetala, Raja via curl-users <>
Date: Wed, 5 Jul 2017 18:57:50 +0000

Hi All,

In my application we were using shell scripts in Unix platform. Now we have changed to Linux during upgrade. Basically we are executing these shell scripts from Pega(BPM) code and after changing into Linux , encountering errors in executing the FTP commands. I understood that these FTP commands needs to be converted to curl in order to make it compatible in Linux environment.

Below is the FTP command needs to be converted to curl and its working fine in legacy Unix environment.

ftp -invs $IPFTP << EOF
mkdir $theyear
cd $theyear
mkdir $themonth

Error occurring in new Linux environment : 'FTP command not found'

Please guide me in conversion of this FTP command into Curl. My application built in pega and using shell script to move the files to ftp server. I have no idea on shell scripting(learned bit in google to understand the scripts) and I am a pega developer so please apologize me for any errors in my question.

I also tried below command to see if FTP client is able to connecting ftp server and encountering following(Not sure what does it mean):


If you wish to unsubscribe from receiving commercial electronic messages from TD Bank Group, please click here or go to the following web address:
Si vous souhaitez vous désabonner des messages électroniques de nature commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre à l'adresse

NOTICE: Confidential message which may be privileged. Unauthorized use/disclosure prohibited. If received in error, please go to for instructions.
AVIS : Message confidentiel dont le contenu peut être privilégié. Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière d'aller au pour des instructions.


Received on 2017-07-05