Work against ftp (Indy)

Posted on 2006-04-27
Last Modified: 2010-04-04
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
Question by:hulken
    LVL 15

    Expert Comment

    Couldnt you just use a WINEXEC command instead straight to windows?
    Trying to find an example ...
    LVL 28

    Accepted Solution

    you might want to try:
    id1.quote('rcmd strs36prc prc(PZQUOORD) curlib(TSLOAD)');
    LVL 1

    Expert Comment

    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. =)

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now