- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: FTP OpenVMS7.3-2 to Windows Server
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
Forums
Discussions
Discussions
Discussions
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
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
11-16-2009 07:59 PM
11-16-2009 07:59 PM
FTP OpenVMS7.3-2 to Windows Server
For some reason I can't use the * wild card. It errors with cannot file file name *
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 08:33 PM
11-16-2009 08:33 PM
Re: FTP OpenVMS7.3-2 to Windows Server
Be sure to also read up on the "SET PROMPT"
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 08:58 PM
11-16-2009 08:58 PM
Re: FTP OpenVMS7.3-2 to Windows Server
Or "mput".
> Be sure to also read up on the "SET PROMPT"
FTP> set prompt
%CLI-W-IVKEYW, unrecognized keyword - check validity and spelling
Well, "prompt":
FTP> prompt
Interactive mode off.
FTP> prompt
Interactive mode on.
The help in the FTP client program would not
win many awards (from me) for quality or
utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 09:08 PM
11-16-2009 09:08 PM
Re: FTP OpenVMS7.3-2 to Windows Server
> card.
I got so excited about "SET PROMPT" that I
forgot that we really don't know how you're
trying to do this. "FTP /INPUT"? If so,
then you might do better (or more easily)
with "COPY /FTP". As usual, many things are
possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 07:12 AM
11-17-2009 07:12 AM
Re: FTP OpenVMS7.3-2 to Windows Server
$ COPY /FTP /ASCII this*.txt host"user pass"::
and see how far you get with the Windows ftp server.
You may need to tweak some logical names on OpenVMS as the Windows ftp tools can be incompatible with ftp on OpenVMS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 12:21 PM
11-17-2009 12:21 PM
Re: FTP OpenVMS7.3-2 to Windows Server
Copy/ftp help only indicates the receiving host as being VMS. I need to go to a windows share. Failed anyway
$ copy/ftp/assci/ *.txt windowshostIP "username password"
%DCL-I-IGNQUAL, qualifiers appearing before this item were ignored
\FTP\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 01:01 PM
11-17-2009 01:01 PM
Re: FTP OpenVMS7.3-2 to Windows Server
Probably COPY, or maybe a substring.
$ SHOW SYMBOL COPY
If so...
$ DELETE /SYMBOL [/GLOBAL] COPY
That DELETE command can fail for the same reason that the COPY command is probably failing here; because somebody has established a DELETE symbol.
Setting up DCL symbols that exactly match DCL commands is generally not recommended for just this reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 01:03 PM
11-17-2009 01:03 PM
Re: FTP OpenVMS7.3-2 to Windows Server
There are several issues with your attempt:
$ copy/ftp/assci/ *.txt windowshostIP "username password"
%DCL-I-IGNQUAL, qualifiers appearing before this item were ignored
\FTP\
First problem. You have a symbol "COPY" which defines qualifiers. The -I- (Informational) message is telling you they are ignored. This may or may not matter. Syntactically, the /FTP qualifier is required to be first. Try:
$ COPYX/FTP
the trailing X will override your symbol definition.
Second problem, /assci is misspelled. It should be /ASCII. I'm a bit surprised this error didn't generate a warning message like:
%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
\ASSCI\
third problem, there's a trailing "/" on the command line. This should also have generated a warning message:
%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
\*\
(because spaces between the "/" and the qualifier name are allowed, the command is parsed assuming the "*" is the qualifier).
fourth problem, the syntax for the target file specification is incorrect. It should be:
$ COPY/FTP/ASCII *.TXT node"user password"::"remote filespec"
For example - this is a cut & paste of an actual transfer from an OpenVMS V8.3-1H1 system to a windows server:
$ copyx/ftp/ascii/log send*.txt 10.2.21.133"anonymous junk"::"/~support/vmsxfer/"
%TCPIP-S-FTP_COPIED, DISK$USERS:[GILLINGS]SEND_SEMF.TXT;2 copied to 10.2.21.133"anonymous password"::"/~support/vmsxfer/send_semf.txt" (2809 bytes)
%TCPIP-S-FTP_COPIED, DISK$USERS:[GILLINGS]SEND_SMS.TXT;5 copied to 10.2.21.133"anonymous password"::"/~support/vmsxfer/send_sms.txt" (137427 bytes)
This is a "put" from OpenVMS to windows. Reverse the file specifications for a get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 01:06 PM
11-17-2009 01:06 PM
Re: FTP OpenVMS7.3-2 to Windows Server
COPY /FTP also allows symbol substitution and other DCL programming techniques, which the FTP utility does not; to get around this, you'll have to write and @-invoke runt files with the FTP utility to perform various of these operations.
Whether COPY /FTP works with the ftp server within the Microsoft Windows Server platform, I don't know. Windows client and Windows server are not in regular use here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 01:07 PM
11-17-2009 01:07 PM
Re: FTP OpenVMS7.3-2 to Windows Server
$ SHOW SYMBOL C*
Is there any COPY, COP*, CO*, or C* that does a COPY with some qualifiers?
And for good measure
$ SHOW NETWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 05:21 PM
11-17-2009 05:21 PM
Re: FTP OpenVMS7.3-2 to Windows Server
Moving on, the output string is giving me grief. I made a cutnpaste error first time which almost worked;
$ copyx/ftp/ascii/log *.txt 10.76.12.15"FTPAHMIS AHMISFTP"::"/e:ahmis_ftp
%TCPIP-S-FTP_COPIED, AHS_DISK:[AHS.V4_5N_RELEASE.TFR]AHS_EXTRACT_ACT.TXT;1 copie
d to 10.76.12.15"FTPAHMIS password"::"/e:ahmis_ftp.TXT" (116310524 bytes)
%TCPIP-S-FTP_COPIED, AHS_DISK:[AHS.V4_5N_RELEASE.TFR]AHS_EXTRACT_CAR.TXT;1 copie
d to 10.76.12.15"FTPAHMIS password"::"/e:ahmis_ftp.TXT" (16434 bytes)
As you can see ALL files were being copied to e:ahmis_ftp.txt
BUT there is NO ahmis_ftp.txt anywhere on the windows server. ahmis_ftp is the windows share name.
Any other variation eg "/e:ahmis_ftp/" .OR. "/e:ahmis_ftp/ "
all fail with cannot establish /e:ahmis_ftp/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 08:11 PM
11-17-2009 08:11 PM
Re: FTP OpenVMS7.3-2 to Windows Server
$ COPY /FTP /ASCII this*.txt host"user pass"::
That command typically targets the default directory for the specified username and password on the target host.
You may need to alter the target specification to aim at another directory. Now if your login for FTPAHMIS is that
/e:ahmis_ftp default directory, then leave it off and let the ftp server apply its defaults.
Another option here (given that Windows tends to strip metadata off the files) is to zip the data - using zip "-V" to preserve the metadata, and yes that "-V" is quoted in the command - and transfer over files as one big zip archive. That also tends to be faster, as there's less data headed over, and fewer file operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 08:32 PM
11-17-2009 08:32 PM
Re: FTP OpenVMS7.3-2 to Windows Server
>As you can see ALL files were being copied
>to e:ahmis_ftp.txt
>BUT there is NO ahmis_ftp.txt anywhere on the
>windows server. ahmis_ftp is the windows share
>name.
Your windows file specification is illegal. e:ahmis_ftp.txt appears to be a file name, but it contains a ":" character. This has some kind of weird special meaning to Windows, which I've never been able to figure out. The effect from an FTP perspective is to apparently create the file, and accept all the data, and report success back to the sender, but the created file name is only up to the ":" character and is always 0 bytes long. I have no idea what Windows does with all the stuff it was sent, or why it defines this behaviour as "successful", but that's just the way Windows works.
Assuming you mean to store the file on the root of E drive, try "e:\ahmis_ftp.txt" as your target file specification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 08:34 PM
11-17-2009 08:34 PM
Re: FTP OpenVMS7.3-2 to Windows Server
"e:\somedir\" as the output specification. The input file names should then be used for the output files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2009 12:32 PM
11-19-2009 12:32 PM
Re: FTP OpenVMS7.3-2 to Windows Server
Output string needed to be:
"" "\"windows share name"