Earlier quoted context omitted.
That honestly sounds more complicated. FTP isn't that difficult of a protocol, especially if you only need to support one known client, you can take all sort of shortcuts. If you deploy an existing FTP server, and _then_ integrate with it at the filesystem level you now have two components, and your sysadmin requirements grow. Now you gotta administrate an FTP server that's probably written for classic UNIX single se…
The lock would be handled by something like Redis or a DB. But yeah, if you only need to support one client, I can see the reasoning. It would never have flied at any of the places I've worked, though, having to support tons of clients.
FTP is 50 years old
171–180 of 187 posts
Re: FTP is 50 years old
#172What's the oldest protocol that's still regularly used?
If we're limiting it to "used by computers", and "actually used in some meaningful non-hobby volume" maybe the T1/DS1 TDMA protocol? That dates back to 1962. Or maybe morse code counts as a protocol?, Still around in VOR (VHF omnidirectional range) and NDB (Non-directional beacon) in the aviation world.
Re: FTP is 50 years old
#173Earlier quoted context omitted.
> There are probably battle tested implementations in e.g. Python, Java or other safe-ish languages to build on? My experience... there aren't a ton of choices in this space. There are a few FTP servers designed to power B2B backend services. Many of the options are designed only to provide access to the local filesystem.
> My experience... there aren't a ton of choices in this space. There are a few FTP servers designed to power B2B backend services. Many of the options are designed only to provide access to the local filesystem. The "local filesystem" doesn't have to be a local file system. It's just a good, common abstraction useful for interoperability. Why not "rclone mount" your Google Drive, or use some other FUSE based file sy…
Going through FUSE is, in my mind, a last resort.
Re: FTP is 50 years old
#174Still, a couple of years back now I had to setup an IP-limited SFTP server for our comms team. But I made them 'sign in blood' that it was a temporary solution until their supplier could implement a more secure alternative. Like I said, it was a few years ago...
FTP definitely still has its uses, it just needs careful thought and setup.
Re: FTP is 50 years old
#175Earlier quoted context omitted.
The good old days ... Username: anonymous Anonymous login accepted, enter e-mail address as password. Password: aoeu@aoeu.com I bet aoeu.com and asdf.com got a good amount of unwanted mail back then.
I get ASDF, but what is AOEU based on?
> It resulted from a typo. I was writing a domain registration system for an ISP and, during some debugging, forgot to use the --no-act command line flag and ended up registering aoeu.com for real. Since it was so easy to type, I kept it.
The letters A O E U are the first four characters of the left hand on a Dvorak keyboard, which is the layout I use.
Re: FTP is 50 years old
#176Earlier quoted context omitted.
I had a finance-industry client require we upload to their FTP server because they couldn't trust downloading the file over HTTPS from our server with a secure/unique URL.
Did they have any rationale for that?
I had some related thoughts. They may have a strong content filter on their incoming web. I was sending them a CSV but we had to talk about it like it was a proprietary-format Excel document for the sake of those who would eventually be loading it with Excel.
My best guess eventually was that FTP was considered the best way to go around their content filter on purpose. Makes negative sense to me.
Re: FTP is 50 years old
#177Fun trivia: in the early days of the ARPAnet, mail was delivered (at least on PDP-10's) by FTP-appending a message in to the receipients mailbox file. (Which was protected as append-only to world (owner, group, world).) Didn't last long, obviously, but that was back in the days when every site had a well-publicized guest login and you could telnet anywhere. (Well, OK, in 1972 there were only a few dozen nodes, but th…
Re: FTP is 50 years old
#178Earlier quoted context omitted.
Http3, IMAP, Caldav and MAPI? Cordinating a client across two ports sounds trivial compared to for example properly implementing client and server versions of IMAP search commands when no client or server follows the specification.
Until you realize that the two ports commonly involve dealing with middleware that cant handle it properly.
Re: FTP is 50 years old
#179Earlier quoted context omitted.
Aww man, I wonder what the reason is. Firefox is always my go to application for opening things I only use every once in a while.
Because -very- few people use it per their telemetry so they don't want to maintain it anymore. It makes sense to throw out a sizeable chunk of code that is only being used by 0.1% of your users. Lftp is great command line replacement for it and extremely scriptable.
Re: FTP is 50 years old
#180Not that I think we should go back, but I do miss the wildwest days of web development when it was still acceptable to FTP untested code straight to production. For my first dev job we would develop on production using an FTP client to push up changes on save. One day I was writing an SQL UPDATE statement and I forgot to include a WHERE clause. I basically nuked the entire product DB and it took days to recover becau…
The backend team in one of my previous jobs (around 2010) had an interesting file locking mechanism. All the developer were sat around one table but you couldn’t see each other behind the dual screens. So every hour or so, somebody stood up to inform the team that he is going to be editing file xyz, so please don’t touch. It wasn’t production though, everyone was just working on a shared staging system.
Only 5 years ago, we had an 'editing stick'. Only the person physically in possession of the editing stick was allowed to make edit the configs to our (early 90's vintage) SCADA system.
Frankly the system worked very well: "if it ain't broke, don't fix it".
We only got rid of the editing stick when the machinery in question was scrapped.