|
Here's from the "Help" command: QUOTE (Send a Command to an FTP Server) To send a subcommand directly to the FTP server on the remote system, use the QUOTE subcommand. The string is sent verbatim to the FTP server. QUOte string QUOte You can abbreviate subcommands to the most unique series of characters. string The subcommand and arguments that you want sent to and interpreted by the remote FTP server. Notes: 1. The AS/400 FTP server limits the string to 1000 characters. 2. For the QUOTE subcommand, whatever you enter is passed as the argument. For example, if you type: QUOTE CWD 'SYS1' The resulting argument is: CWD 'SYS1' Special server commands exist and must be entered using the QUOTE subcommand. -------------------------- To see the help commands, type "FTP 'LOOPBACK' on a command line. Give your as/400 login and password so you're logged in, and type "Help" on the FTP command line. _______________________ Booth Martin Booth@MartinVT.com http://www.MartinVT.com _______________________ "Pantzopoulos, Mike" <mikepantzopoulos@mynd.com> Sent by: owner-midrange-l@midrange.com 11/30/2000 07:27 PM Please respond to MIDRANGE-L To: "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com> cc: Subject: RE: Commands on Remote FTP I just tried that and AS400 FTP doesn't recognize RCMD as a sub-command either. When I took help from within FTP I couldn't see RCMD in the list of sub-commands either. Is there something I'm missing? Message----- From: mandy.shaw@uk.catalyst-solutions.com [mailto:mandy.shaw@uk.catalyst-solutions.com] Sent: Friday, 1 December 2000 10:38 To: MIDRANGE-L@midrange.com Subject: Re: Commands on Remote FTP Use RCMD FTP subcommand (i.e. Remote CoMmanD) e.g. RCMD CRTSAVF XYZ/ABC or whatever. This runs the relevant command on your FTP target box. You can do this from a PC FTP client too if you use the form quote site rcmd ... Extremely useful in my experience (e.g. in ftp batch scripts). "Pantzopoulos, Mike" <mikepantzopoulos@mynd.com> on 30/11/2000 21:46:21 Please respond to MIDRANGE-L@midrange.com To: "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com> cc: (bcc: Mandy Shaw/Pacific/UK) Subject: Commands on Remote FTP I've seen that AS400 FTP allows a limited number of FTP sub-commands to run on the remote AS400 (ADDM, DLTF etc). I was wondering if there was a way of running other AS400 commands on the remote server. For instance, I want to transfer a Save file to machine x. Is there some way of running the RSTOBJ command to unpack he save file, without me having to sign on to machine x to issue the command? TIA Mike Pantzopoulos - att1.htm Regards, Mandy Shaw Catalyst Solutions plc Kingfisher House Frimley Business Park Camberley Surrey GU16 5SG UK http://www.catalyst-solutions.com Email: Mandy.Shaw@uk.catalyst-solutions.com Telephone: +44 (0)870 166 1000 DDI: +44 870 166 1324 Facsimile: +44 870 168 3920 Mobile: +44 410 447966 ---------------------------------------------------------------------- Catalyst Solutions plc. Registered No 2918101. Registered @ Kingfisher House, Frimley Business Park, Frimley, Surrey. GU16 5SG U.K. NOTICE: This message is intended only for the named addressee(s) and may contain confidential and/or privileged information. If you are not the named addressee you should not disseminate, copy or take any action or place any reliance on it. If you have received this message in error please notify postmaster@catalyst-solutions.com and delete the message and any attachments accompanying it immediately. ---------------------------------------------------------------------- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.