|
From a simple ftp session on my pc to my i I can use this command:quote rcmd rmvlnk '/rob/deleteme*.*'
or I can do
quote site namefmt 1
prompt
mdelete /rob/deleteme*.*
Try one of those. If one doesn't work, try the other. FTP exit points
may secure one or both.
Rob Berendt
--
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Andrew.Smith@xxxxxxxxx
To: midrange-l@xxxxxxxxxxxx,
Date: 12/21/2011 09:46 AM
Subject: SSH run remote command to submit remote command on Windows
XP pc
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Hello,
Sorry to bother you all but I hope you can me with another SSH command
problem I have been set ?
I have been tasked with SFTP'ing all the /xml files from a directory on a
Windows XP PC running CrushSFTP
to the iSeries which I have done using the 'Get *.XML' in my SFTP script.
After retrieval they want to run a remote command
to delete all the .xml's and I was wondering how on earth to do it ?
Obviously on the pc I would just type in - : DEL D:/path/*.xml....but how
would I do this using SSH ?
Thankyou for your time and help.
Regards
Andy
Martin Dawes Systems
t. 01925-55-5316
e Andrew_Smith@xxxxxxxxx
w. www.martindawessystems.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.