|
If the temporary absence of the file on the FTP is not a problem, you can use the FTP rename subcommand to rename it before the next periodic version is written. Otherwise, you will have to GET it and PUT it back with a new name. Mel Rothman "York, Albert" wrote: > > The remote site is not an AS/400, however the local site is an AS/400. > > There is a separate process (which I can't change) which puts the file on > the server on a periodic basic. I want to make a copy of the file on the > server, before it gets written over. I could use GET to pull the file down > to the AS/400 and then use PUT to send it back with a new name but I wanted > to avoid all that extra overhead if I could > > -----Original Message----- > From: Carel Teijgeler [SMTP:teygeler@bart.nl] > Sent: Saturday, November 18, 2000 11:53 AM > To: MIDRANGE-L@midrange.com > Subject: Re: FTP question > > "York, Albert" wrote: > > > When using FTP is there a command to copy a file on the server? I > found one > > to rename or delete files but no command to copy one. > > > > Albert, > > You can use FTP-command QUOTE RCMD CRTDUPOBJ etc, if the AS/400 is > the FTP > server. > > Regards, > > Carel Teijgeler. > +--- | 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.