Link to home
Start Free TrialLog in
Avatar of hulken
hulken

asked on

Work against ftp (Indy)

here is what i do from a command window

ftp some_ip

when I have logged in i type a commando :

quote rcmd strs36prc prc(PZQUOORD) curlib(TSLOAD)

(This starts a job.)

Howo can I do this using indy component?

I tried id1.SendCmd('quote rcmd strs36prc prc(PZQUOORD) curlib(TSLOAD)')

and that did not work
Avatar of Mike Littlewood
Mike Littlewood
Flag of United Kingdom of Great Britain and Northern Ireland image

Couldnt you just use a WINEXEC command instead straight to windows?
Trying to find an example ...
ASKER CERTIFIED SOLUTION
Avatar of 2266180
2266180
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kristao
Kristao

Indy ftp client component has this function SendCmd(string);

so after connection do this

*****
IndyFTP.SendCmd('strs36prc prc(PZQUOORD) curlib(TSLOAD)');
*****

i think it should work. =)