16 November 2014, 21:46 | #1 |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Transferring Files Over the Network
Solution
Ok, so most what was discussed in this thread is valid. The problem is that some FTP servers use Amiga paths which are incompatible with FTP clients. If you want to see what that is about, read the rest of the thread and you will see the problem. I ditched all the FTP daemons and tried proftpd (http://aminet.net/package/dev/gg/proftpd-1.2.2) instead. The thing that sounded promising for me was that proftpd mentions that it keeps paths internally and it does not use the system "shell" (I assume the CLI on AmigaOS) to resolve paths. So I got the proftpd patches, unarchived and then did the following:
You can now browse your Amiga using any FTP client, because proftpd treats the paths as: Code:
/Workbench/C Code:
/Workbench:C/ You can check the screenshots in this post to see me browsing the Amiga using Transmit on OSX. :-) Original Message I have some trouble with transferring files to and from the Amiga. So far, I have tried AmTCP's bundled FTP - this one crashes the amiga a lot. Now, I am on wu-ftpd but I am experiencing a lot of trouble with connecting clients that precede the path with a slash "/". For example, FTP clients try to access: "/Work:/" and the Amiga FTP servers I have tried respond with "no such directory". However, this works fine using the BSD command-line ftp from OSX. So far, I have tried the following OSX software that does not seem to work with those two Amiga FTP servers:
In many cases, both with AmiTCP's FTP daemon and wu-ftpd I get Guru: 1E0FC788 a lot. So, next that I have tried is Samba. I can mount Amiga Samba shares from Linux and they work fine - however, they do not work at all from more recent Windows machines. Windows cannot connect and only OSX 10.6 manages to mount the shares. I guess I would like to find out if anybody has found any reliable way to transfer files to and from the Amiga over the network? I have not fished-up the RFC yet, but why do the FTP servers not recognise the trailing slash as in "/Work:/"? Is there any other way to transfer files over the network? What does that Guru meditation faul-error mean? Is there anything like OpenSSH available for the Amiga - and is it stable? For the time being I am using BSD's command-line ftp client since it does not assume a full path such as "/Work:/Archive/" and accepts "cd Workbench:" or "cd Work:". Last edited by eva; 26 January 2015 at 17:29. Reason: Solved |
16 November 2014, 22:44 | #2 |
Registered User
Join Date: Jul 2013
Location: Liverpool
Posts: 2,598
|
I use BabyFTP (because it allows Anon login) on the PC
and AmiFTP (or mFTP[030]). and occasionally even Amiga-Explorer and even Ibrowse FTP://192.168.0.9:21 and EasyNet/AmiTCP's Samba Share don't ask me how that works... for ages it would not and then it did. |
16 November 2014, 23:20 | #3 |
Registered User
Join Date: May 2012
Location: Gravesend - UK
Posts: 927
|
I use AmiTradeCenter to go from my Amiga to my NAS.
|
17 November 2014, 09:08 | #4 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
I'd be running the FTP server on the PC and using a client on the Amiga. I've never had any issues doing it like that.
|
17 November 2014, 11:07 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,000
|
There is a nice little FTP server for such purposes: http://www.pablosoftwaresolutions.co...rver_lite.html
|
17 November 2014, 15:21 | #6 |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Thanks for the suggestions! I was actually looking for an FTP server / fileserver on the Amiga.
wu-ftpd, for example, works well - just that connecting clients issue paths like:
which are not recognised by the Amiga shell. These are Unix paths which make lots of sense on Unix but the Amiga cannot resolve them. If one uses the "ftp" BSD command then you can avoid this problem because all input is manual any way and you can avoid this kind of paths ie: input "cd Work:Games/" instead of "cd /Work:/Games/" which is what FTP clients seem to do. My attempts (guesses) so far have been to change the Amiga shell to an Unix compatible one that, perhaps, may recognise a path like /Work:/ and resolve it to Work: I am hoping this is possible as a workaround because one could recompile wu-ftpd to filter out these extra slashes. I just lack a cross-compiler / toolkit to start dabbling with wu-ftpd sources. That way you could perhaps create some FTP aliases, like map "/Work:/" to "Work:" or "/Games:/" to "Games:" such that the FTP daemon would resolve the paths before attempting a "cwd" command. Last edited by eva; 17 November 2014 at 15:31. |
17 November 2014, 15:53 | #7 |
Registered User
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
|
As has been mentioned already, run the ftp server on a PC. Forget about running one on the Amiga, if you must run something on the Amiga, use Amiga Explorer.
|
17 November 2014, 16:02 | #8 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,000
|
Quote:
Such paths would be a security breach anyway. An FTP server (or any other server) must never allow a client to specify a drive name. Only paths inside the configured home directory may be accessed by clients. It's probably your own fault trying to "cd work:" or something inside the client program. Such paths are not allowed. |
|
17 November 2014, 16:56 | #9 | ||
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Quote:
(Samba also runs on top of the underlying file-system by the way.) Quote:
The problem is that the Amiga does not recognise a path such as: Code:
Work:/Games Code:
Work:Games Code:
Work:ftproot Code:
ftp|PASSWORD|100|100|Amiga FTP|Work:ftproot|cli Code:
Work:ftproot/Text/ However, if you change the FTP user's home directory to a drive: Code:
ftp|PASSWORD|100|100|Amiga FTP|Work:|cli Code:
Work:/Games Other FTP clients that do not send path such as "Work:/Games", such as the BSD ftp client program will not have trouble issuing "cd Work:", "cd Games:" or "cd Work:Text/" because they are valid Amiga paths. |
||
17 November 2014, 17:14 | #10 |
Registered User
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
|
To be honest it sounds like what you need is Amiga Explorer as mentioned before. It does everything that your after doing, without all the drama!
|
17 November 2014, 17:21 | #11 | |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Quote:
You are right, Amiga Explorer sounds good. Trouble is I do not really use Windows (I used it for staging to install the harddrive with WinUAE). wu-ftpd works fine, just that I would have preferred a (more convenient) graphical interface instead of "ncftp" or "ftp" from the command-line. I probably can get Amiga Explorer to work on OSX through wine though... |
|
17 November 2014, 17:28 | #12 |
Registered User
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
|
I've seen a thread recently on one of the forums, can't remember which at the moment, but it was about using Amiga Explorer protocols in Linux and OSX. Someone was using it natively and reporting how he did it. Do a search on here, Amibay and amiga.org, it will be on one of them.
|
17 November 2014, 17:29 | #13 |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Here is some output from "ftp" on the command line.
All these work fine: Code:
ftp> cd Games: 250 CWD command successful. ftp> cd Workbench: 250 CWD command successful. ftp> cd Work: 250 CWD command successful. ftp> cd Games:TitusTheFox/ 250 CWD command successful. ftp> cd Work: 250 CWD command successful. Code:
ftp> cd /Work: 550 /Work:: No such file or directory. ftp> cd Work:/ 550 Work:/: No such file or directory. ftp> cd Work:/Text 550 Work:/Text: No such file or directory ftp> cd /Work:/Text 550 /Work:/Text: No such file or directory Last edited by eva; 17 November 2014 at 17:35. |
17 November 2014, 18:31 | #14 | |
Mind Walker
Join Date: Oct 2013
Location: Helsinki, Finland
Posts: 165
|
Quote:
I can get the AE to install, and even show in the Wine file explorer (it's not an application, but it integrates into the explorer) and even sometimes show files over serial, but haven't got it to actually transfer anything. I'd love to be proven wrong, though! |
|
18 November 2014, 07:42 | #15 |
Registered User
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
|
Jesus! Can't folk manage a simple search these days?
Here, try this: http://www.faime.demon.co.uk/retro/lxamiga.html Found the link I previously referred too, it is here: http://eab.abime.net/showthread.php?...hlight=lxamiga Last edited by ptyerman; 18 November 2014 at 07:53. Reason: added link |
20 November 2014, 13:37 | #16 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,343
|
Personally I always use RC-FTPd on the Amiga side when using FTP locally. I've never had any trouble with it, it isn't a resource hog and lets you define mappings for your drives to the ftp root. So, I have Work: mapped to /work/ and so on. Nicely thought out and to be honest, simpler than using a Windows FTP server - especially since I transfer to my Amigas from many different operating systems, many of which have FTP clients built into the desktop environment.
|
22 November 2014, 17:51 | #17 | |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Quote:
|
|
22 November 2014, 17:59 | #18 | |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Quote:
Apparently, the aliases are placed in ftpaccess. So the path problem would be solved by: Code:
# Shortcuts for anonymous FTP incoming (note: the ':' isn't obligatory) alias work: /work alias workbench: /workbench alias games: /games |
|
22 November 2014, 18:28 | #19 |
NetBSD developer
Join Date: May 2012
Location: Warsaw, Poland
Posts: 411
|
If you have any Linux/Unix box around, you should consider using the NFS client integrated in AmiTCP. Once configured, it works almost seamlessly. Files on NFS volume are treated by AmigaOS the same as files that are present locally (so it's very comfortable to use).
I once wrote a tutorial about configuring this, but unfortunately it is only available in Polish. And Google Translate does mediocre job ... |
22 January 2015, 16:07 | #20 | |
Registered User
Join Date: Oct 2014
Location: Constanta / Romania
Posts: 202
|
Quote:
What I am after though is a reliable way to manipulate Amiga's files remotely. So, a way to mount the Amiga filesystem over the network (regardless whether it's Samba, NFS, etc...) so I can change the files. Ideally, I was after changing some files, modifying them, etc, without having to be at the Amiga. A very simple scenario is all those setting files in S: - would be nice to be able to open them remotely. Another scenario would be to create a source file on the Amiga, edit it remotely and then use telnet to compile the source remotely as well. Otherwise, yes, client-side I guess even FTP would be fine. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transferring files from Amiga to PC. | davidmanvell | support.Hardware | 12 | 07 June 2011 09:03 |
Easier way of transferring files | edd_jedi | New to Emulation or Amiga scene | 15 | 03 July 2010 17:44 |
help transferring files to my CF drive | Dreamcast270mhz | support.Other | 3 | 21 January 2010 23:18 |
transferring files from pc->amiga with floppy | sanDae | New to Emulation or Amiga scene | 98 | 28 January 2009 11:46 |
Problems transferring files from PC to Amiga | Gary335 | support.Other | 8 | 26 January 2009 18:03 |
|
|