Welcome, Guest. Please login or register.

Author Topic: file search function in Amiga FTP clients?  (Read 1452 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
file search function in Amiga FTP clients?
« on: February 23, 2008, 12:22:24 PM »
  Hi.
 Let's say that someone has connected to an FTP site with ATC and entered a directory with thousands of files. Is it possible to search for a specific file with this client?
 If not, is it possible with other AmigaOS 3 or MOS clients?
A1200 PPC user.
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: file search function in Amiga FTP clients?
« Reply #1 on: February 23, 2008, 12:23:45 PM »
Sorry can't help you with OS3 or MOS clients, but thats a good idea and i'm going to add it to PFTP.

Edit: Although for OS3.x, AmiFTP allows you to select files by pattern, so you could then just scroll down and see which files it had selected.

Edit 2: And i guess i don't have to add anything to PFTP since it has select by pattern also :-)
Playstation Network ID: xeron6
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: file search function in Amiga FTP clients?
« Reply #2 on: February 23, 2008, 02:46:59 PM »
Heh, you are right. AmiFTP does support pattern matching. Not something ideal, but better than nothing. :-) This is a big disadvantage of ATC over AmiFTP!

 For PFTP, you could add recurcive file search and then... maybe port it to OS3?
A1200 PPC user.
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: file search function in Amiga FTP clients?
« Reply #3 on: February 23, 2008, 04:40:09 PM »
Well, i think for PFTP i'm going to make it so that if you start typing while an FTP window is active (but the directory string gadget is not active), it'll select all matching files.

Like, hit "A", and all files starting with A are selected, then hit "N" and all files starting with AN are selected etc. etc. and hit ESC to clear the selection.

As for an OS3.x port, maybe. There are a few potential snags there; first is that i'm using the AmiTCP socket signals API (since i prefer it to WaitSelect()), but that is buggy in some OS3.x TCP/IP stacks. As i'm writing for OS4, i'm assuming that it works since OS4 ships with roadshow (where it does work).

Second, i'm using OS4-specific features, like SFTP support relies on some OS4 extensions to queue-handler (and specifically requires Steven Solie's OS4 OpenSSH port). I'm explicitly using interface pointers, mutexes, extra gui pens, new features of reaction, 64bit filesize compatible DOS operations, extra process management features...
Playstation Network ID: xeron6
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: file search function in Amiga FTP clients?
« Reply #4 on: February 23, 2008, 06:00:03 PM »
Hivelytracker used some os4 stuff too, and that got ported :) An early port could perhaps not include the sftp stuff, or it could be rewritten I'm sure.

Let me have a go Xeron. I know you wanted the OS4 exclusivity, but why not expand your user base a bit?