http://www.perlmonks.org?node_id=379773


in reply to does Net:::FTP support 'quote'?

mifflin,
After re-reading your question, it looks like you need the TIAS approach. Since TFM, shows both, my guess is that the KSH script used quote because site wasn't available. If both work, go with the one that makes the most sense to you.

Cheers - L~R

Update: Removed excerpt from the doc since mifflin had already read it

Replies are listed 'Best First'.
Re: does Net:::FTP support 'quote'?
by mifflin (Curate) on Aug 03, 2004 at 18:27 UTC
    Yes, I saw that and the site sub in the perldocs
    site (ARGS) Send a SITE command to the remote server and wait for a response. Returns most significant digit of the response code.
    I was wondering what the difference was.
Re^2: does Net:::FTP support 'quote'?
by Ponky (Curate) on Aug 04, 2004 at 03:20 UTC
    We use the same syntax here: quote site file=jes and it would seem we only use the quote as the site is not available in the ftp client we use (the standard windows ftp client). Therefore the site method should work.