Koozali.org: home of the SME Server

Complete newby - relationship between users/servers

Offline scamp53

  • 2
  • +0/-0
Complete newby - relationship between users/servers
« on: August 17, 2007, 08:53:12 AM »
Hi – Linux newby (SME)
re general linux server setup.
Current setup involves a SCO Unix box which contains our ‘mission critical’ management system – externally maintained by software package vendor and for all intents and purposes, solely for the management system. They aren’t interested in providing support for our Linux box.
Apart from the management system running TCP/IP emulation, rest of site operates Windows PCs in peer to peer network for file and printer sharing.

We installed the Linux box some time ago with a view to tightening up the systems operating outside the proprietary SCO box management software (Excel & Access, PC backup, music files (hehe), banking & tax office data – generally shared data).

Currently, within the management system, menu driven shell scripts run to xfer files from the SCO box to individual PCs to allow external applications (on-line payments systems, various Excel models etc). Scripts that ftp these files to PCs either via direct IP addresses or via the SCO hosts file work fine. The scripts login to the SCO box, open the recipient PC (direct IP or via hosts) and PUT files to the PC folder without a problem.

Now though, I need to open the Linux box for ftp receiving and don’t know the relationship between users, groups, ibays, ftp server. When I try to change the scripts and run them I get the following:

connected to servernm
220 servernm.ournm.com FTP server ready
Remote system type is UNIX
Using ascii …
331 Anonymous login ok, send your complete email address as your password.
230 Anonymous access granted, restrictions apply.
550 path (it’s correct): No such file or direcy (sic)
Local directory now …
local: filenm remote: filenm
200 PORT command successful
550 filenm: Permission denied

I’m presuming this means I’m not logged into the Linux box appropriately for FTP.

Is this specific enough for any of you experts to be able to provide general info about setup requirements for users, ftp etc?
Thanks in anticipation.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Complete newby - relationship between users/servers
« Reply #1 on: August 18, 2007, 03:58:47 PM »
I don't think SME supports anonymous FTP writes, despite the messages you've received about "Anonymous access granted".

Have you customized your SME somehow to allow anonymous FTP?

Can you modify your script to include a username and password?

Can you remove the remote path, 'put' a file into '.' on the remote system, then go find it?  (perhaps the root isn't where you think it is on your SME)

If you have manually created a directory on the SME to receive the FTP files, you may need to set / verify the permissions on the directory before uploading.


Offline scamp53

  • 2
  • +0/-0
Re: Complete newby - relationship between users/servers
« Reply #2 on: August 19, 2007, 06:10:25 AM »
I don't think SME supports anonymous FTP writes, despite the messages you've received about "Anonymous access granted".

Have you customized your SME somehow to allow anonymous FTP?

Can you modify your script to include a username and password?

Can you remove the remote path, 'put' a file into '.' on the remote system, then go find it?  (perhaps the root isn't where you think it is on your SME)

If you have manually created a directory on the SME to receive the FTP files, you may need to set / verify the permissions on the directory before uploading.



Thanks -
I'm pretty sure the path's right - have verified using midnight commander and command line.
I'll look at the rest of it when I return to work.