Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 05:41 PM
тАО03-24-2011 05:41 PM
I maintain a legacy system on an HP Itanium under VMS8.2-1 with software written in pascal.
I use COPY/FTP to copy files out to a number of other servers.
I am now in a position where I need to grab a file from an external (Windows) FTP server.
This may seem like a trivial question but rather than establishing an FTP connection to this server and getting a file, is COPY/FTP a better method?
Can I specify a timeout? Or do I simply get an error status if the file is not there?
TIA
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 05:56 PM
тАО03-24-2011 05:56 PM
SolutionI'd stay away from the timeouts and related, as that way often involves not insubstantial pain and suffering and weirdness and instability. If you really need to go there and have already looked very carefully at alternatives and options, only then at the timeouts.
The default timeouts and errors should be the same as those of FTP.
As for errors, run yourself a few tests. (It would have taken you less time to have run a COPY /FTP host::bogus and checked $status than to post that question, after all.)
$ copy/ftp localhost::bogus x.x
%TCPIP-E-FTP_NOSUCHFILE, no such file bogus
$ show sym $status
$STATUS == "%X17649B22"
$ copy/ftp localhost"usr pwd"::login.com x.x
$ show sym $status
$STATUS == "%X17649B11"
$ set mess sys$message:tcpip$msg
$ x=f$mess(%X17649B22)
$ show sym x
X = "%TCPIP-E-FTP_NOSUCHFILE, no such file !AD"
$ x=f$mess(%X17649B11)
$ show sym x
X = "%TCPIP-S-FTP_NORMAL, normal successful completion"
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 05:56 PM
тАО03-24-2011 05:56 PM
Re: copy/ftp
For actually useful information:
tcpip show version
> [...] software written in pascal.
>
> I use COPY/FTP [...]
Is there any connection between the Pascal
program(s) and the COPY/FTP activity?
> [...] rather than establishing an FTP
> connection to this server and getting a
> file, is COPY/FTP a better method?
Better? Is it significantly different? What
do you think that COPY/FTP does? (To find
out, you might try adding /VERBOSE to your
COPY/FTP command.)
> Can I specify a timeout?
I don't see an easy way. Do you expect to
get a time-out?
> Or do I simply get an error status if the
> file is not there?
I wouldn't expect to get a time-out if the
file isn't there. If you really want to
know, then it should be pretty easy to run
the experiment. (More reliable than asking
here, too.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 06:17 PM
тАО03-24-2011 06:17 PM
Re: copy/ftp
There are some similar-looking reports from six months back, and I see FTP issues from almost a year ago.
Would this be the same site and the same issue?
And would that make it a legacy bug? :-)
Consistency being what it is, I'd previously posted similar code for checking errors from the DCL code, Steven has asked similar questions about the version information, too.
You will want to see several of the previous threads for (more of) the usual suggestions for these cases, ranging from debugging on up to Wireshark.
And if this matter has become a priority here, do consider calling in some help to have a look at this network. IP network errors don't usually lend themselves to easy debugging via forum postings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 06:20 PM
тАО03-24-2011 06:20 PM
Re: copy/ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 06:25 PM
тАО03-24-2011 06:25 PM
Re: copy/ftp
I don't have much experience of FTP under VMS so I am picking my way around. Noted that this is a simple test to carry out which I have now done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 06:26 PM
тАО03-24-2011 06:26 PM