Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

directory/ftp

 
SOLVED
Go to solution
Shael Richmond
Frequent Advisor

directory/ftp

Does this command support any qualifiers other then /full or /anonymous? I was looking for a /since or maybe a /total.
5 REPLIES
Shael Richmond
Frequent Advisor

Re: directory/ftp

And can I do directory/ftp dir\filename?

%TCPIP-E-FTP_DIRFAILED, directory failed for 'lwlabels\WDScan.dir'
-TCPIP-W-FTP_REPLYTEXT, 550 lwlabelsWDScan.dir: The system cannot find the file specified.


ucx 5.6 eco 4
RBrown_1
Trusted Contributor
Solution

Re: directory/ftp

>>>>>
%TCPIP-E-FTP_DIRFAILED, directory failed for 'lwlabels\WDScan.dir'
-TCPIP-W-FTP_REPLYTEXT, 550 lwlabelsWDScan.dir: The system cannot find the file specified.
<<<<<

Try using "/" instead of "\". Put the entire string after "::" in quotation marks.
Shael Richmond
Frequent Advisor

Re: directory/ftp

Yep that worked.

EMPPRA> dir/ftp/full s769loft01"anonymous xxxx@xxxx"::"lwlabels/WDScan.dir"

Directory S769LOFT01"anonymous password"::

08-05-10 09:50AM 237 WDScan.dir
Steven Schweda
Honored Contributor

Re: directory/ftp

> Does this command support any qualifiers
> other th[a]n [...]

Think for a moment about what would be needed
to make that work. Getting a simple list of
files (NLST) from an arbitrary FTP server,
and interpreting it, is one thing. Getting a
detailed directory listing (LIST) from an
arbitrary FTP server, and interpreting _that_
is a much different (and much more
complicated) thing.

Parsing FTP server LIST output is a major
project all by itself. Note, for example,
that HP's own "Secure Web Browser V1.1-12"
("based on Seamonkey 1.1.12") can't do it
right for HP's own TCPIP FTP server. I would
not hold my breath waiting for anyone to add
features like this to DIRECTORY /FTP.
Hoff
Honored Contributor

Re: directory/ftp

This is normally managed via a file system mount and not by the dumb-as-a-box-of-rocks ftp protocol, though VMS provides an NFS client and an SCS client and (sort of) an iSCSI initiator, but lacks clients for WebDAV, AFP, SMB, ftp, sftp or other common file servers.

So you're somewhat stuck here.

Connect over to the remote server via some form of network communications, and tally up what you require.

You might potentially use ssh here, for instance, as that can toss around commands.