LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vsftp - "unknown site command error" (https://www.linuxquestions.org/questions/linux-software-2/vsftp-unknown-site-command-error-41773/)

RGS461 01-17-2003 12:21 AM

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

Crashed_Again 01-17-2003 05:28 AM

Silly question but does /transfers have WRITE privelages?

pk21 01-17-2003 05:54 AM

It says "200 PORT command successful. Consider using PASV"

Dit you try passive mode and active mode???

RGS461 01-17-2003 09:43 AM

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


All times are GMT -5. The time now is 07:46 PM.