LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-17-2003, 01:21 AM   #1
RGS461
LQ Newbie
 
Registered: Jan 2003
Distribution: RH 8
Posts: 2

Rep: Reputation: 0
Post vsftp - "unknown site command error"


I'm in the process of setting up a FTP server on RedHat 8.0 - I'm using vsftp - I can login as the user I defined for FTP only from a windows machine. I also need our IBM mainframe to tranfer files to this machine. We are using the following JCL to send the file:

//FTP1 EXEC PGM=FTP,REGION=4096K,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
10.200.61.233
username password
PUT 'filename.txt' /transfers
QUIT

I have the home/username/transfers directory in place and can write files to the directory from the windows machine.

We get the dollowing error messages from the mainframe when it trys to transfer the file:

COMMAND INPUT ===> SCROLL
EZA1459I NAME (10.200.61.233:C8150):
EZA1701I >>> USER username
331 Please specify the password.
EZA1701I >>> PASS
230 Login successful. Have fun.
EZA1460I Command:
EZA1736I PUT 'filename.txt' /transfers
EZA1701I >>> SITE FIXrecfm 1350 LRECL=1350 RECFM=FB BLKSIZE=27000
500 Unknown SITE command.
EZA1701I >>> PORT 10,1,102,236,11,132
200 PORT command successful. Consider using PASV.
EZA1701I >>> STOR /transfers
553 Could not create file.
EZA1460I Command:
EZA1736I QUIT
EZA1701I >>> QUIT


Any ideas?

TIA
 
Old 01-17-2003, 06:28 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Silly question but does /transfers have WRITE privelages?
 
Old 01-17-2003, 06:54 AM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
It says "200 PORT command successful. Consider using PASV"

Dit you try passive mode and active mode???
 
Old 01-17-2003, 10:43 AM   #4
RGS461
LQ Newbie
 
Registered: Jan 2003
Distribution: RH 8
Posts: 2

Original Poster
Rep: Reputation: 0
I have checked the permissions - If I do the ftp from a windows machine the file transfer is successful

I'm not a mainframe programmer so I'm not sure how to force the MF to use PASV. I'll pass that suggestion on to the MF programmer.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"FATAL: Unknown capture source type" error from Kismet atlantanewbie Linux - Wireless Networking 2 04-03-2010 06:34 AM
SuSE update caused "Unknown AUTHORIZATION state command" StigIrish Linux - Networking 1 05-06-2005 11:51 AM
rpm -bp command not working says "-bp: unknown option" Niceman2005 Linux - Software 2 11-08-2004 02:36 AM
"Unknown error code 255" trying to burn CD with K3B 0.11.2cvs BertBert Linux - Software 0 03-12-2004 09:19 PM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-22-2003 12:47 AM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration