- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- FTP refuses to get data in ASCII mode
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
09-30-2005 12:50 AM
09-30-2005 12:50 AM
I am trying to get a file in ASCII mode. I have a file with the following commands:
DISABLE VMS_PLUS
SET TYPE ASCII
SET PASSIVE ON
SET DEFAULT "/home/hadriaan/ss"
SET DEFAULT/LOCAL "DSA4:[STEP_HARM.TMP]"
GET *.*
EXIT
Using this file with FTP I get logged:
230 Login successful. Have fun.
VMS Plus mode disabled.
200 ASCII tastes bad, dude.
Passive is ON.
250 Directory successfully changed.
Local directory now DSA4:[STEP_HARM.TMP]
227 Entering Passive Mode (10,17,6,212,237,65)
150 Opening BINARY mode data connection for 20050925_SPC_20051001.xml (1185599 b
ytes).
%TCPIP-E-FTP_OUTPROCF, error processing output file DSA4:[STEP_HARM.TMP]20050925
_SPC_20051001.xml;1
-RMS-W-RTB, 61440 byte record too large for user's buffer
426 Failure writing network stream.
So it says "Opening BINARY mode data connection" while I wanted ASCII.
Has anyone a solution for this.
Thanks in advance,
Hans
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 01:11 AM
09-30-2005 01:11 AM
Re: FTP refuses to get data in ASCII mode
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 01:12 AM
09-30-2005 01:12 AM
Re: FTP refuses to get data in ASCII mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 01:16 AM
09-30-2005 01:16 AM
Re: FTP refuses to get data in ASCII mode
The remote system is a Linux system (I think Suse 9).
When the remote system is also a VMS system, the problem does not occur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 01:21 AM
09-30-2005 01:21 AM
Re: FTP refuses to get data in ASCII mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 03:11 AM
09-30-2005 03:11 AM
Re: FTP refuses to get data in ASCII mode
5.1. MINIMUM IMPLEMENTATION
In order to make FTP workable without needless error messages, the
following minimum implementation is required for all servers:
TYPE - ASCII Non-print
MODE - Stream
STRUCTURE - File, Record
COMMANDS - USER, QUIT, PORT,
TYPE, MODE, STRU,
for the default values
RETR, STOR,
NOOP.
The default values for transfer parameters are:
TYPE - ASCII Non-print
MODE - Stream
STRU - File
All hosts must accept the above as the standard defaults.
The FTP server on the remote system should be replaced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2005 05:37 PM
10-01-2005 05:37 PM
Re: FTP refuses to get data in ASCII mode
FTP server refuses to provide data in ASCII
mode", as the (lame) FTP server is the real
source of this problem. Any program which
puts out a message which says "dude" is not
one I'd trust for any serious work.
That said, it's possible that Wget would do
better than your VMS FTP client in this case.
("It's possible" means that you'd need to
run the experiment to find out.) Even if it
works better, you might still need to do
some sort of SET FILE /ATTRIBUTES operation
on the result of the binary transfer.
For a good time, consider a visit to:
http://antinode.org/dec/sw/wget.html
No bets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 09:47 PM
10-02-2005 09:47 PM
Re: FTP refuses to get data in ASCII mode
should probably be
MGET *.*
but I doubt that's anything to do with the problem at hand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 10:29 PM
10-02-2005 10:29 PM
Re: FTP refuses to get data in ASCII mode
http://curl.haxx.se/download.html#VMS
but I think the ftp server is faulty.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 12:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 12:46 AM
10-03-2005 12:46 AM
Re: FTP refuses to get data in ASCII mode
Thank you all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 01:04 AM
10-03-2005 01:04 AM
Re: FTP refuses to get data in ASCII mode
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 01:11 AM
10-03-2005 01:11 AM
Re: FTP refuses to get data in ASCII mode
See: http://vsftpd.beasts.org/vsftpd_conf.html