0

I have an ftp command and i want to change it and use curl instead, but i am not able to find any options for site RDW and site SDB. Is there a solution?

My ftp command is similar with:

ftp xxxxxxxxxxxxxxxxxxxx<< ENDGET
user "xxxxx" "xxxxx" 
ascii 
site RDW 
site SBD=(charset1,charset2) 
cd .. 
get FILE PATH/FILE
bye ENDGET

New curl command...

curl -v -u xxxxx:xxxxx --ftp-ssl -k -B -P - ftp://yyyyyyyyyyyyyyyyyyyyyyy:port/../FILE -o PATH/FILE

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.