[HECnet] Wildcards using MULTINET FTP server, Linux client?

Johnny Billquist bqt at softjar.se
Fri Oct 21 17:37:48 PDT 2011


Good points!

As one additional thing to consider, I just remembered that the ftp protocol don't really expect to deal with wildcards. mget and friends actually do a DIR, and then applies the command to every file listed by the initial DIR.

I can't remember if any real wildcarding is allowed at all in ftp. I should know once I've implemented my ftp for RSX. (It's probably a couple of weeks away.)

	Johnny

On 2011-10-21 18.31, Paul_Koning at Dell.com wrote:
In ftp, there are separate commands for wildcard operation -- for example "mget" instead of "get" and "mdelete" instead of "rm".   That probably accounts for both issues.

It may also be that ; gives trouble because it's a Unix shell character.   If so, you could use the TOPS-20 style version delimiter "." -- that works on VMS also.

	paul

-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Johnny Billquist
Sent: Friday, October 21, 2011 12:05 PM
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] Wildcards using MULTINET FTP server, Linux client?

On 2011-10-21 17.18, Sampsa Laine wrote:
I'm trying to do a rm *.*;* in an FTP script and get this error:

550-Failed to delete directory DKA0:[ARCSIGHT]*^.log^;*.dir;
550 The file specification must contain a name, type and version number (even if wildcarded).


How do I get rid of those stupid ^'s?

I'd be more worried about where the ".dir;" at the end comes from...?

	Johnny



More information about the Hecnet-list mailing list