Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

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
0
hulken
Asked:
hulken
1 Solution
 
mikelittlewoodCommented:
Couldnt you just use a WINEXEC command instead straight to windows?
Trying to find an example ...
0
 
2266180Commented:
you might want to try:
id1.quote('rcmd strs36prc prc(PZQUOORD) curlib(TSLOAD)');
;)
0
 
KristaoCommented:
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. =)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now