Operating System - HP-UX
1834691 Members
2346 Online
110069 Solutions
New Discussion

Re: FTPing to a Win NT server 550 error

 

FTPing to a Win NT server 550 error

I send files to several different servers and recently one of the sites I send to has changed from a UNIX based system to windows NT. It is the only windows NT system that I send files to. My server is running HP-UX 11.0. Anyway here is what I am doing and the error I get.

#ftp sabersd
Connected to sabersd.
220 dns01 Microsoft FTP Service (Version 4.0).
Name (sabersd:root): loginname
331 Password required for loginname.
Password:
230 User loginname logged in.
Remote system type is Windows_NT.
ftp> lcd /var/ajp/exit/mbox/3SD
Local directory now /var/ajp/exit/mbox/3SD
ftp> binary
200 Type set to I.
ftp> put AJRF09.181
200 PORT command successful.
550 AJRF09.181: The system cannot find the file specified.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
550 .: The system cannot find the file specified.
ftp> bye

I know that the file is in that directory, I don't know why I get this 550 message. Can anyone help?
5 REPLIES 5
Mark Greene_1
Honored Contributor

Re: FTPing to a Win NT server 550 error

How are you logged in to the HP box? If not root, be sure the login ID used has permissions to cd to every directory in the path to the file.

Also, does it behave differently if you cd to the directory prior to initiating the ftp?

mark
the future will be a lot like now, only later

Re: FTPing to a Win NT server 550 error

I am logging in as root and I set the permissions of the file to 666. I also tried to FTPing from the directory where the file is. However, I did create a bogus file named AJRFIL.lst and gave it the exact same permissions, owner and group of the AJRF09.181 file and I was able to put that one to the NT server. Then just to make sure that the wasn't a problem with the AJRF09.181 file I put it to another UNIX server and I had no problems.
Ron Kinner
Honored Contributor

Re: FTPing to a Win NT server 550 error

I wonder if the file already exists? It's probably too stupid to ask you if you want to overwrite it. Odd that you can't get it to ls. Even odder that you can't do an ls and that it talks about /bin/ls which probably doesn't exist on Windows. I suppose this is the ftp server that is controlled by IIS. If you open up the control console for IIS you should find a rootftp or something like that - don't have one to play with right now. If you right click on it and select properties you will see a tab call Home Directory. Make sure you have read and write checked and then check the other tabs to see if there is anything else which might help.

If it were me, I'd replace Microsoft's ftp junk with war-ftp.

http://www.jgaa.com/index.php?menu=&cmd=show_article&article_id=113&PHPSESSID=c9a87d3899158bda18ce4e936ade2809

We use that for our stuff and it works quite well.

Ron

Re: FTPing to a Win NT server 550 error

Unfortunately, I donâ t manage the NT server nor have any say over that they run. Thanks for the help, I was hoping I could call up the folks that manage that server with a solution instead of a problem, but there doesnâ t seem to be an easy fix for this. Thanks again. I probably wonâ t check this posting again, my sites internet connection is running at a crawl right now and I donâ t have the patienc
Paula J Frazer-Campbell
Honored Contributor

Re: FTPing to a Win NT server 550 error

Hi

I have come accross this before and had to delete the file on the windoze end before the put would work.

Paula
If you can spell SysAdmin then you is one - anon