AS/400 FTP session

145 pts.
Tags:
AS/400 FTP
After logging onto a server using the FTP command I am not able to use the REN or DEL statements with the generic char * to access the file names. It works with MGET or MPUT. Is there a setting on the AS/400 that somehow controls the use of asterix in filenames for the FTP session?

Software/Hardware used:
iseries

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you ftp to your iSeries, login, then type in a ? you will see the list of commands available to you. DEL or REN are not there. Try DELETE or MDELETE and RENAME.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    First, are you referring to the AS/400 ftp client or the AS/400 ftp server? AFAIK, there is no AS/400 ftp server support for generic* names in the REN and DEL ftp subcommands. (I'm not sure if any ftp servers support them, but I've never checked.) However, there is support for remote commands by the AS/400 ftp server. One command that might be available through an AS/400 ftp server is STRQSH. If Qshell is available and the STRQSH command is allowed by the system, then you can run Qshell utilities to rename or delete. Many QSH possibilities exist. You could call a script, possibly one that you just uploaded, or you could run single utilities, or you could run compound statements. Given RCMD support, there doesn't seem to be any need for REN or DEL wildcard support within the ftp server. Tom
    125,585 pointsBadges:
    report
  • Mitchb
    Thanks Dan......you will find that the REN and DEL is the short version of RENAME and DELETE. I did find MDEL handles * chars, but could not find anything for REN to handle an asterix. Ideally I would like to do be able to do the command REN *.txt *.dat on the AS/400 FTP session
    145 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following