Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (53 user(s) are browsing Forums)

Members: 1
Guests: 57

Skateman, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Ftp server
Home away from home
Home away from home


See User information
I'd like to set up a server on the amiga using ftp. Got told that would be best. But i have no idea about ftp servers at all. So would like to get some help here. Anyone can give a stupid person some detailed info here?

X5000
Go to top
Re: Ftp server
Just can't stay away
Just can't stay away


See User information
@Antique

Try rc-ftpd is old, but easy to setup and works fine under OS4. I use it to transfer big files from my A1 to PC

AMINET:
http://aminet.net/comm/tcp/rc-ftpd.lha

Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@Antique

I used the ftp off OS4Depot, it has instructions how to implement it in RoadShow also.

The distribution is also part of AmiUpdate

I used it to transfer from my classic PPC to my SAM via the ADSL Router

Of course if you use a Router also and want users to access your ftp from outside your local network then you'll need forward porting etc...

good luck

~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
Go to top
Re: Ftp server
Home away from home
Home away from home


See User information
@Slayer

I need to let anyone get access to it from the internet.

X5000
Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@Antique

What Slayer said is true not only for ftpd but for any ftp server you'll setup and you want to access from outside your LAN : if you have a router between your LAN and the Internet you'll have to open FTP TCP/IP ports and forward them to your Amiga.

Back to a quiet home... At last
Go to top
Re: Ftp server
Home away from home
Home away from home


See User information
@jabirulo

I think ftpd need fixing, because you can list any file on your disk, because it uses an external command to list content on your disk, so in other words all user permissions are ignored


Edited by LiveForIt on 2009/5/25 17:58:09
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Ftp server
Just popping in
Just popping in


See User information
@Antique

I use http://www.os4depot.net/index.php?fun ... twork/server/ftp/ftpd.lha

With my sam440 but I just cant get it to work properly with DOPUS9 for windows.

Copying files to my sam works fine but it always shows up a blank directory list so I cant copy files back.

If I do a list of the remote server using the built in windows ftp command line client it returns all the files sizes as zero so the problem could be related to that.

I have read and re-read the supplied documentation but I cant see what I am doing wrong so any suggestions on how to fix this would be welcome.

But if all you want to do is copy files to an AOS4 computer it works and is fast, just not user friendly.

Sam440ep 667mhz 512megs OS4.1 + Minimig, 4MB RAM, ARM add-on board
WinUae 2.3.2, OS 3.9, BB2, Catweasel MkIV
Amiga 1200, BlizzardPPC 060/200 with SCSI, mediatorSX, Voodoo3, pci lan
Go to top
Re: Ftp server
Home away from home
Home away from home


See User information
@Antique

Antique there are some http servers on OS4Depot you can use, and you can use wget to download the files on client side.

CLIENT SIDE:
http://www.os4depot.net/index.php?fun ... lity/misc/wget-bin.tar.gz

SERVER SIDE:
http://www.os4depot.net/index.php?fun ... e&cat=network/server/http

there are lots of options,
GoAhead WebServer sounds cool,

ASP is the basic language for web, it should be easy implement some kind of file writing or read if that?s needed.
CGI can also be used for this, there are lots of example code on the net.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Ftp server
Home away from home
Home away from home


See User information
@Dwyloc

SECURITY WARNING:

Note that in previous version, FTPUsers file contained entry "rest" which
was originally planned for use with MultiUserFilesystem under AmigaOS 3.1+
since this filesystem was not ported after AmigaOS 3.5 this part of the
program has been deactivated in this port and letting this entry was a
security hole as anyone was allowed to login.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@LiveForIt

Quote:
I think ftpd need fixing, because you can list any file on your disk, because it uses an external command to list content on your disk, so in other words all user permissions are ignored


If you want fixes maybe the first thing to do is notifying the maintainer about problems you found, don't you think ? Then I hardly understand what you mean by the user permissions being ignored especially given the fact that AmigaOS does not support multiuser how could ftpd enforce such "user permission" that don't even exists ?

@Dwyloc

Quote:
Copying files to my sam works fine but it always shows up a blank directory list so I cant copy files back.

If I do a list of the remote server using the built in windows ftp command line client it returns all the files sizes as zero so the problem could be related to that.


The problem with ftp protocol is that the listing format was aimed at human as a consequence there was no standard format in the output listing. Majority of graphical FTP clients are doing assumptions about this format which seems to not work with your ftpd version. I personnaly don't use DOpus 9 for Windows so can't test it myself but can you please tell me :
1) when you type list in a shell on your SAM does the uploaded files have a real size or are they set to zero ?
2) can you send me the output of the command line ftp ?

Back to a quiet home... At last
Go to top
Re: Ftp server
Just popping in
Just popping in


See User information
@abalaban

Using the list command from the AmigaShell returns the correct file sizes as expected.

The output from the Windows XP command line ftp client is as follows:

ftp 192.168.1.11
Connected to 192.168.1.11.
220- This is Joran's AMIGA.......
220- ftp or anonymous for anonymous users......
220- Joran++++
220 localhost FTP Ready - vJoran 2.01
User (192.168.1.11:(none)): douglas
331 Enter Password
Password:
230- Welcome to My HOUSE...
230- Joran++++
230 douglas Logged in, Mon May 25 17:14:09 2009
ftp> dir
200 Port command okay
150 Open Work:temp for ASCII LIST (0 Bytes)
Size File/Dir Name Comment
0 aften.lha :
0 zeldarothcoop-us.lha :
0 camd.lha :
0 f1spirit.lha :
0 mplayer1april.lha.lzh :
0 owb.lha :
0 expat.lha :
0 Cyberbit.ZIP :
0 Acuario.lzx :
0 Install_PUP :
0 minigl.lha :
0 pgs409nh.lha :
0 reg_details.txt :
0 Dict-British(2).zip :
0 netsurf-2.0.lha :
0 owb(2).lha :
0 netsurf-2.1.lha :
(Dir) PPC :
0 lhex :
Directory Work:temp : 93623840 Bytes : 18 Files
226 File sent OK
ftp: 1258 bytes received in 0.05Seconds 27.35Kbytes/sec.

Sam440ep 667mhz 512megs OS4.1 + Minimig, 4MB RAM, ARM add-on board
WinUae 2.3.2, OS 3.9, BB2, Catweasel MkIV
Amiga 1200, BlizzardPPC 060/200 with SCSI, mediatorSX, Voodoo3, pci lan
Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@Dwyloc

Can you tell me what is configured in your DEVS:Iternet/ftpd.conf file for DevDir and ArgDir ?
Also what is displayed by a "version full ftpd" ?

Back to a quiet home... At last
Go to top
Re: Ftp server
Just popping in
Just popping in


See User information
@abalaban

Quote:

abalaban wrote:
Can you tell me what is configured in your DEVS:Iternet/ftpd.conf file for DevDir and ArgDir ?


DevDir=ls -al
#ArgDir=SDK:local/C/ls %s

Quote:

abalaban wrote:
Also what is displayed by a "version full ftpd" ?

JoranFtpd 2.01 OS4 (24/05/2007)

Sam440ep 667mhz 512megs OS4.1 + Minimig, 4MB RAM, ARM add-on board
WinUae 2.3.2, OS 3.9, BB2, Catweasel MkIV
Amiga 1200, BlizzardPPC 060/200 with SCSI, mediatorSX, Voodoo3, pci lan
Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@Dwyloc

You should *not* comment the ArgDir parameter.

On the other hand can you try to enter "ls -al" in a shell located in Work:temp and send me the output please ?

Back to a quiet home... At last
Go to top
Re: Ftp server
Just popping in
Just popping in


See User information
@abalaban

Quote:

abalaban wrote:
You should *not* comment the ArgDir parameter.

Both were commented out in the default config. I have now uncommeted both without any change to the problem.

Quote:

abalaban wrote:
On the other hand can you try to enter "ls -al" in a shell located in Work:temp and send me the output please ?


total 91442
drwx------ 2 root wheel 0 May 27 22:53 .
drwx------ 2 root wheel 0 Mar 21 15:05 ..
-rw------- 1 root wheel 4457508 May 25 16:16 Acuario.lzx
-rw------- 1 root wheel 6427108 Apr 4 12:09 Cyberbit.ZIP
-rw------- 1 root wheel 533214 Apr 5 23:41 Dict-British(2).zip
-rwxrwxrwx 1 root wheel 9512 Dec 18 2003 Install_PUP
drwx------ 2 root wheel 0 May 26 23:50 MCC_TheBar
-rwx------ 1 root wheel 2426 Jan 20 2007 MCC_TheBar.info
drwxrwxrwx 2 root wheel 0 Dec 18 2003 PPC
-rw------- 1 root wheel 321282 Feb 11 23:24 aften.lha
-rw------- 1 root wheel 84258 Feb 24 01:35 camd.lha
-rw------- 1 root wheel 504449 Apr 4 12:08 expat.lha
-rw------- 1 root wheel 26872581 Mar 14 02:26 f1spirit.lha
-rwxrwxrwx 1 root wheel 41664 Dec 18 2003 lhex
-rwx------ 1 root wheel 0 May 27 22:53 list.txt
-rw------- 1 root wheel 3194460 Apr 5 12:22 minigl.lha
-rw------- 1 root wheel 5258495 Apr 4 12:08 mplayer1april.lha.lzh
-rw------- 1 root wheel 5355571 Apr 25 23:49 netsurf-2.0.lha
-rw------- 1 root wheel 5375478 May 25 16:40 netsurf-2.1.lha
-rw------- 1 root wheel 12264361 Apr 25 23:49 owb(2).lha
-rw------- 1 root wheel 12144424 Apr 4 12:08 owb.lha
-rw------- 1 root wheel 5584135 Apr 5 23:19 pgs409nh.lha
-rw------- 1 root wheel 72 Apr 5 23:19 reg_details.txt
-rw------- 1 root wheel 5195268 Feb 14 16:11 zeldarothcoop-us.lha

Sam440ep 667mhz 512megs OS4.1 + Minimig, 4MB RAM, ARM add-on board
WinUae 2.3.2, OS 3.9, BB2, Catweasel MkIV
Amiga 1200, BlizzardPPC 060/200 with SCSI, mediatorSX, Voodoo3, pci lan
Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@Dwyloc

Quote:
Both were commented out in the default config. I have now uncommeted both without any change to the problem.


I'm sorry but not in the version currently on OS4Depot.

Quote:
... <correct output from the ls command>...

Then that's really strange are you sure this is really that ls command that is used ? Can you put a full path to this command in the config file ?

Back to a quiet home... At last
Go to top
Re: Ftp server
Just popping in
Just popping in


See User information
@abalaban

That fixed it. :)

As I don't have an SDK: assign I set it to Cygnix:CygnixPPC/bin/ the location of the only copy of ls I have installed.

I had tested ls previously myself when I tried to debug the problem from my work:temp folder but I wrongly thought if it worked from a shell prompt I did not need to specify a path.

Anyway thanks again for the help its very nice to be able to use ftp to copy files in both directions from my sam440.

My next Amiga network challenge will be to install and setup samba under OS4.1 I already have it running on my A1200 Tower under OS3.9 but I think I will leave that challenge for a wet weekend.

Sam440ep 667mhz 512megs OS4.1 + Minimig, 4MB RAM, ARM add-on board
WinUae 2.3.2, OS 3.9, BB2, Catweasel MkIV
Amiga 1200, BlizzardPPC 060/200 with SCSI, mediatorSX, Voodoo3, pci lan
Go to top
Re: Ftp server
Quite a regular
Quite a regular


See User information
@Dwyloc

Glad if I helped you

Anyway if you want to install Samba and you already did it on a 68k machine, it would be almost the same. Mickey's guide might help you too, see it here

Back to a quiet home... At last
Go to top
Re: Ftp server
Home away from home
Home away from home


See User information
Found out that i have an 100mb homepage from my internet supplier that i can use. It said i had to use ftp to upload the stuff,but is that all i need to do? just upload the pics and thats it? Sounds a bit to easy to be true.

X5000
Go to top
Re: Ftp server
Not too shy to talk
Not too shy to talk


See User information
@Antique

Yes, usually you just need to upload whatever you need with FTP and it will be available to download via HTTP (i.e. using a web browser). Some providers will need you to put the files in a specific folder to get it to work, just read the FAQs or readmes they provide...

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project