|
Chris, enter the FTP command on an AS/400 and ftp to "loopback" then type "help" on the FTP command line and look up the keyword "SUnique" SUNIQUE (Control Overwriting of Files) To control whether a file is overwritten when doing a PUT or MPUT subcommand, use the SUNIQUE subcommand as follows: SUnique [0 | 1] SUnique You can abbreviate subcommands to the most unique series of characters. - When no parameter is entered, SUNIQUE acts like a toggle switch. The present setting is switched to the opposite value. 0 Overwrite the file if it exists. This is the default setting. By default, SUNIQUE is set off. This means that if the remote system already has a file with the name specified by remotefile on a PUT or MPUT subcommand, the FTP server on the remote system writes over the existing file. 1 Create a new file with a unique name. Existing files are not overwritten. Instead, a new file is created on the remote system and the FTP server on the remote system sends the name of the created file back to the user. Note: If the remote system is an AS/400 system, the created File.Mbr names are formed by adding numbers to the end of the member name of the localfile specified in the PUT or MPUT subcommand. Thus, if the name NEWFILE.NEWMBR already exists on the remote system, the remote AS/400 system creates NEWFILE.NEWMBR1 and writes the data to it. If the name already exists, a new file is created with a name consisting of the specified file name and a number suffix. If the name xfsname already exists on the remote system, the remote AS/400 system creates xfsname1. See > Unique Server Requirements for related information. _______________________ Booth Martin boothm@earth.goddard.edu http://www.spy.net/~booth _______________________ Chris.Chambers@v2music.com Sent by: owner-midrange-l@midrange.com 01/18/2000 10:50 AM Please respond to MIDRANGE-L To: midrange-l@midrange.com cc: Subject: Deletion of files on FTP transfer When some of our users attempt to transfer files from our server to the AS400 they are unable to do so as the corresponding file on the AS400 is unable to be deleted first, via this process. Our server people say this is an AS400 problem - however the users are set up with *ALLOBJ authority and can delete the file directly on the AS400. Should I be looking at another area on the AS400 rather than USRPRF. Any thoughts or solutions greatly appreciated. Thanks, Chris __________________________________________ Visit http://www.v2music.com for the latest artist news, videos, tour dates, competitions and much more. +--- | 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.