[WIP] AmiFTP

...für und mit Amiga OS4

Moderator: OS4Welt-Team

Benutzeravatar
Cyborg
AmigaOS Entwickler
Beiträge: 3514
Registriert: 28. September 2009 11:10
Hat sich bedankt: 12 Mal
Danksagung erhalten: 34 Mal

Re: [WIP] AmiFTP

Beitrag von Cyborg »

Goos hat geschrieben: 21. Januar 2020 12:27 Ja wäre mir auch am liebsten einfach raus, der Modus war mir schon immer suspekt, hab den auch nie genutzt ;)
Also bitte... nicht einfach etwas rauswerfen, nur weil Du es nie benutzt hast oder es Dir suspekt ist ... das erinnert mich so sehr an ein gewisses anderes Projekt von jemanden, das wir uns mal angesehen haben :roll: :roll: :roll:

Ein Amiga-FTP-Client muß m.E. einfach auch ein AminetDownloadTool sein. Das gehört dazu und wenn es nicht sauber funktioniert, muß es eben gefixt werden. Außer, Du willst das Feature "für später" aufheben ;)
.. der SysOp hat immer recht :evil:

PGP Schlüssel verfügbar
Benutzeravatar
root
Beiträge: 794
Registriert: 3. Oktober 2009 11:21
Wohnort: Berlin
Hat sich bedankt: 28 Mal
Danksagung erhalten: 33 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von root »

Das Feature AminetDownloadTool wird dann später als DLC vermarktet.
X5000 E5500 | 4GB Ram | Radeon R9 270 Windforce | TerraTec 512i :thinking:
Benutzeravatar
djbase
Beiträge: 971
Registriert: 15. Oktober 2015 06:45
Wohnort: Mannheim
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von djbase »

Ich finde auch das es repariert gehört und nicht einfach entfernt. Muss ja nicht gleich heute sein.
:commodore: Amiga 600 | Vampire 600 II | 128 MB RAM | Indivision ECS Mk3 | 128GB CF | AmigaOS 3.2.2
:commodore: Amiga 1200 | Vampire 1200 II | 128 MB RAM | Indivision AGA Mk3 | 128GB CF | AmigaOS 3.2.2
:boing: AmigaOne X1000 | 1.8 GHz | 4 GB RAM | Radeon R7 250X | 250 GB SATA SSD | AmigaOS 4.1
Benutzeravatar
Goos
Entwickler-X
Beiträge: 291
Registriert: 27. September 2009 13:27
Wohnort: Neustadt i. Sa.
Danksagung erhalten: 8 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von Goos »

Cyborg hat geschrieben: 21. Januar 2020 15:08 Also bitte... nicht einfach etwas rauswerfen, nur weil Du es nie benutzt hast oder es Dir suspekt ist ... das erinnert mich so sehr an ein gewisses anderes Projekt von jemanden, das wir uns mal angesehen haben :roll: :roll: :roll:

Ein Amiga-FTP-Client muß m.E. einfach auch ein AminetDownloadTool sein. Das gehört dazu und wenn es nicht sauber funktioniert, muß es eben gefixt werden. Außer, Du willst das Feature "für später" aufheben ;)
Ok wenn es so viele gibt die es auch nutzen kann ich es mir ja ansehen ;)
Muss mir nur erstmal klar werden was ein AminetDownloadTool zusätzlich macht, muss das unbedingt im ASCII mode übertragen ?
Programmierer der EntwicklerX
Benutzeravatar
IconDesigner
Beiträge: 410
Registriert: 29. Dezember 2016 17:00
Hat sich bedankt: 20 Mal
Danksagung erhalten: 24 Mal

Re: [WIP] AmiFTP

Beitrag von IconDesigner »

Zuerst DANKE an @ Goos,
das Du, Dir die Zeit nimmst einen Einsteiger im Compielen für AmigaOS!!! :thumbsup: !

Wie gesagt Hochachtung!!! :!:

Habe Deine Hinweise, mein System Auktuallisiert, also im AmiNET ADTools8.1 geladen und das vorheres SDK auf denn Stand "53.30" gebracht. War eigendlich der Meinung, das ich das Aktuelle SDK installiert hatte, aber... :oops:

So habe habe AmiFTP neu "Compilet" und siehe da , es wurde eine Datei erstellt! :!:

Ich bin leider noch nicht ganz so frieden.

Ich habe noch Warnungen... und zweitens felht die Toolbar:

Siehe Bild:
AmiFTP.png
Desweiteren habe ich noch folgenden Warn Meldungen

Code: Alles auswählen

RAM Disk:AmiFTP-master/src/amiftp> make -j8
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/version.o version.c
ppc-amigaos-gcc -c -o o/bsdsocket.o ../tcphook/bsdsocket.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/tcp.o ../tcphook/tcp.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/ADT.o ADT.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/aguide.o aguide.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/AmiFTP.o AmiFTP.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/AmiFTP_Cat.o AmiFTP_Cat.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/cache.o cache.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/change_dir.o change_dir.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/config.o config.c
../tcphook/bsdsocket.c: In function 'aos4_gethostbyname':
../tcphook/bsdsocket.c:12:5: warning: passing argument 2 of 'ISocket->gethostbyname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->gethostbyname(name);
     ^~~~~~
../tcphook/bsdsocket.c:12:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_getservbyname':
../tcphook/bsdsocket.c:17:5: warning: passing argument 2 of 'ISocket->getservbyname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->getservbyname(name,proto);
     ^~~~~~
../tcphook/bsdsocket.c:17:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c:17:5: warning: passing argument 3 of 'ISocket->getservbyname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../tcphook/bsdsocket.c:17:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_getpwnam':
../tcphook/bsdsocket.c:27:5: warning: passing argument 2 of 'IUserGroup->getpwnam' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return IUserGroup->getpwnam(name);
     ^~~~~~
../tcphook/bsdsocket.c:27:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const char *'
../tcphook/bsdsocket.c: In function 'aos4_inetaddr':
../tcphook/bsdsocket.c:42:5: warning: passing argument 2 of 'ISocket->inet_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->inet_addr(s);
     ^~~~~~
../tcphook/bsdsocket.c:42:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_getpeername':
../tcphook/bsdsocket.c:79:5: warning: passing argument 4 of 'ISocket->getpeername' from incompatible pointer type [-Wincompatible-pointer-types]
     return ISocket->getpeername(s,name,namelen);
     ^~~~~~
../tcphook/bsdsocket.c:79:5: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'LONG *' {aka 'long int *'}
../tcphook/bsdsocket.c: In function 'aos4_getsockname':
../tcphook/bsdsocket.c:89:5: warning: passing argument 4 of 'ISocket->getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
     return ISocket->getsockname(s,name,namelen);
     ^~~~~~
../tcphook/bsdsocket.c:89:5: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'LONG *' {aka 'long int *'}
../tcphook/bsdsocket.c: In function 'aos4_send':
../tcphook/bsdsocket.c:99:5: warning: passing argument 3 of 'ISocket->send' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->send(s,msg,len,flags);
     ^~~~~~
../tcphook/bsdsocket.c:99:5: note: expected 'APTR' {aka 'void *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_bind':
../tcphook/bsdsocket.c:109:5: warning: passing argument 3 of 'ISocket->bind' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->bind(s,name,namelen);
     ^~~~~~
../tcphook/bsdsocket.c:109:5: note: expected 'struct sockaddr *' but argument is of type 'const struct sockaddr *'
../tcphook/bsdsocket.c: In function 'aos4_accept':
../tcphook/bsdsocket.c:119:5: warning: passing argument 4 of 'ISocket->accept' from incompatible pointer type [-Wincompatible-pointer-types]
     return ISocket->accept(s,addr,addrlen);
     ^~~~~~
../tcphook/bsdsocket.c:119:5: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'LONG *' {aka 'long int *'}
../tcphook/tcp.c:16:42: warning: 'struct mysockaddr_in' declared inside parameter list will not be visible outside of this definition or declaration
 LONG (*tcp_connect)(LONG s, const struct mysockaddr_in *name);
                                          ^~~~~~~~~~~~~
../tcphook/tcp.c: In function 'CloseTCP':
../tcphook/tcp.c:44:5: warning: passing argument 2 of 'IExec->DropInterface' from incompatible pointer type [-Wincompatible-pointer-types]
     if (ISocket) DropInterface(ISocket);
     ^~
../tcphook/tcp.c:44:5: note: expected 'struct Interface *' but argument is of type 'struct SocketIFace *'
../tcphook/tcp.c:47:5: warning: passing argument 2 of 'IExec->DropInterface' from incompatible pointer type [-Wincompatible-pointer-types]
     if (ISocket) DropInterface(ISocket);
     ^~
../tcphook/tcp.c:47:5: note: expected 'struct Interface *' but argument is of type 'struct SocketIFace *'
../tcphook/tcp.c: In function 'OpenTCP':
../tcphook/tcp.c:94:17: warning: assignment to 'struct SocketIFace *' from incompatible pointer type 'struct Interface *' [-Wincompatible-pointer-types]
         ISocket = GetInterfaceTags(SocketBase, "main", 1, TAG_END);
                 ^
../tcphook/tcp.c:106:20: warning: assignment to 'struct UserGroupIFace *' from incompatible pointer type 'struct Interface *' [-Wincompatible-pointer-types]
         IUserGroup = GetInterfaceTags(UserGroupBase, "main", 1, TAG_END);
                    ^
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/ConnectWindow.o ConnectWindow.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/data.o data.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/dirlist.o dirlist.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/dofuncs.o dofuncs.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/ftp.o ftp.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/locale.o locale.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/main.o main.c
config.c: In function 'ReadSiteNode':
config.c:261:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     if (sn=AllocMem(sizeof(struct SiteNode),MEMF_PUBLIC|MEMF_CLEAR)) {
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from config.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
config.c: In function 'FreeSiteNode':
config.c:372:5: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
     FreeMem(sn,sizeof(struct SiteNode));
     ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from config.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/MainWindow.o MainWindow.c
ConnectWindow.c: In function 'ConnectSite':
ConnectWindow.c:66:5: warning: passing argument 2 of 'IIntuition->SetGadgetAttrs' from incompatible pointer type [-Wincompatible-pointer-types]
     SetGadgetAttrs(MG_List[MG_ListView], MainWindow, NULL,
     ^~~~~~~~~~~~~~
ConnectWindow.c:66:5: note: expected 'struct Gadget *' but argument is of type 'Object *' {aka 'long unsigned int *'}
ConnectWindow.c:77:5: warning: passing argument 2 of 'IIntuition->SetGadgetAttrs' from incompatible pointer type [-Wincompatible-pointer-types]
     if (SetGadgetAttrs(MG_List[MG_ListView], MainWindow, NULL,
     ^~
ConnectWindow.c:77:5: note: expected 'struct Gadget *' but argument is of type 'Object *' {aka 'long unsigned int *'}
ConnectWindow.c:84:7: warning: passing argument 2 of 'IIntuition->RefreshGList' from incompatible pointer type [-Wincompatible-pointer-types]
       RefreshGList(MG_List[MG_ListView], MainWindow, NULL, 1);
       ^~~~~~~~~~~~
ConnectWindow.c:84:7: note: expected 'struct Gadget *' but argument is of type 'Object *' {aka 'long unsigned int *'}
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/Menu.o Menu.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/misc.o misc.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/PrefsWindow.o PrefsWindow.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/readdir.o readdir.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/rexx.o rexx.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/SiteWindow.o SiteWindow.c
main.c: In function 'MyOpenLibs':
main.c:525:23: warning: 'CreateMsgPort' is deprecated [-Wdeprecated-declarations]
     AppPort = (struct MsgPort *)CreateMsgPort();
                       ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:96:40: note: declared here
  DEPRECATED struct MsgPort * APICALL (*CreateMsgPort)(struct ExecIFace *Self);
                                        ^~~~~~~~~~~~~
main.c:532:25: warning: 'CreateMsgPort' is deprecated [-Wdeprecated-declarations]
     TimerPort = (struct MsgPort *)CreateMsgPort();
                         ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:96:40: note: declared here
  DEPRECATED struct MsgPort * APICALL (*CreateMsgPort)(struct ExecIFace *Self);
                                        ^~~~~~~~~~~~~
main.c:538:31: warning: 'CreateIORequest' is deprecated [-Wdeprecated-declarations]
     if (!(TimeRequest=(struct TimeRequest *)CreateIORequest(TimerPort,
                               ^~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:147:42: note: declared here
  DEPRECATED struct IORequest * APICALL (*CreateIORequest)(struct ExecIFace *Self, const struct MsgPort * ioReplyPort, ULONG size);
                                          ^~~~~~~~~~~~~~~
main.c:545:5: warning: passing argument 4 of 'IExec->OpenDevice' from incompatible pointer type [-Wincompatible-pointer-types]
     if (OpenDevice("timer.device", UNIT_VBLANK, TimeRequest, 0)) {
     ^~
main.c:545:5: note: expected 'struct IORequest *' but argument is of type 'struct TimeRequest *'
main.c:551:14: warning: assignment to 'struct Device *' from incompatible pointer type 'struct Library *' [-Wincompatible-pointer-types]
     TimerBase=&TimeRequest->Request.io_Device->dd_Library;
              ^
main.c: In function 'CleanUp':
main.c:588:4: warning: passing argument 2 of 'IExec->CloseDevice' from incompatible pointer type [-Wincompatible-pointer-types]
    CloseDevice(TimeRequest);
    ^~~~~~~~~~~
main.c:588:4: note: expected 'struct IORequest *' but argument is of type 'struct TimeRequest *'
main.c:590:2: warning: 'DeleteIORequest' is deprecated [-Wdeprecated-declarations]
  DeleteIORequest(TimeRequest);
  ^~~~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:148:28: note: declared here
  DEPRECATED void APICALL (*DeleteIORequest)(struct ExecIFace *Self, struct IORequest * ioRequest);
                            ^~~~~~~~~~~~~~~
main.c:590:2: warning: passing argument 2 of 'IExec->DeleteIORequest' from incompatible pointer type [-Wincompatible-pointer-types]
  DeleteIORequest(TimeRequest);
  ^~~~~~~~~~~~~~~
main.c:590:2: note: expected 'struct IORequest *' but argument is of type 'struct TimeRequest *'
main.c:594:2: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
  DeleteMsgPort(TimerPort);
  ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:98:28: note: declared here
  DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct MsgPort * port);
                            ^~~~~~~~~~~~~
main.c:616:7: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
       DeleteMsgPort(AppPort);
       ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:98:28: note: declared here
  DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct MsgPort * port);
                            ^~~~~~~~~~~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/SpeedBar.o SpeedBar.c
MainWindow.c: In function 'AppMessageHookFunc':
MainWindow.c:505:2: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
  FreeMem(node, sizeof(struct Node));
  ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from MainWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
Menu.c: In function 'BuildMenu':
Menu.c:271:27: warning: 'AllocVec' is deprecated [-Wdeprecated-declarations]
     if (NewMenu = (struct NewMenu *)AllocVec((Count + SiteCount) * sizeof(struct NewMenu),MEMF_ANY|MEMF_CLEAR)) {
                           ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:47:28: note: declared here
  DEPRECATED APTR APICALL (*AllocVec)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
Menu.c: In function 'menu_AddToSitelist':
Menu.c:922:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     sn=AllocMem(sizeof(struct SiteNode), MEMF_CLEAR);
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
Menu.c:926:6: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
      FreeMem(sn,sizeof(struct SiteNode));
      ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
Menu.c:932:6: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
      FreeMem(sn, sizeof(struct SiteNode));
      ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
Menu.c:939:6: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
      FreeMem(sn, sizeof(struct SiteNode));
      ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/TransferWindow.o TransferWindow.c
readdir.c: In function 'parse_line_ls':
readdir.c:164:47: warning: comparison between pointer and integer
   (int64)-1, SortMode, remote_sort_direction) == NULL) {
                                               ^~
readdir.c: In function 'parse_line_pattern':
readdir.c:365:36: warning: comparison between pointer and integer
   SortMode, remote_sort_direction) == NULL) {
                                    ^~
readdir.c: In function 'parse_line_vms':
readdir.c:585:40: warning: comparison between pointer and integer
       SortMode, remote_sort_direction) == NULL) {
                                        ^~
readdir.c: In function 'parse_line_dos':
readdir.c:752:36: warning: comparison between pointer and integer
   SortMode, remote_sort_direction) == NULL) {
                                    ^~
rexx.c: In function 'rexx_View':
rexx.c:78:26: warning: passing argument 3 of 'strmfp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   strmfp(loc_name, "T:", FilePart(file.name), 200);
                          ^~~~~~~~
In file included from rexx.c:5:
AmiFTP.h:576:43: note: expected 'char *' but argument is of type 'CONST_STRPTR' {aka 'const char *'}
 void strmfp(char *file, char *path, char *node,int size);
                                     ~~~~~~^~~~
rexx.c: In function 'rexx_GetAttr':
rexx.c:558:30: warning: passing argument 2 of 'SetStemVar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     err|=SetStemVar(rexxmsg, Version, "%s.VERSION", args->stem);
                              ^~~~~~~
rexx.c:533:54: note: expected 'char *' but argument is of type 'const char *'
 static int SetStemVar(struct RexxMsg *rexxmsg, char *value, char *stemname,...)
                                                ~~~~~~^~~~~
SiteWindow.c: In function 'HandleSiteListIDCMP':
SiteWindow.c:913:7: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
       sn=AllocMem(sizeof (struct SiteNode), MEMF_CLEAR);
       ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
SiteWindow.c: In function 'NewGroup':
SiteWindow.c:1165:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     sn=AllocMem(sizeof(struct SiteNode), MEMF_CLEAR);
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
SiteWindow.c:1196:2: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
  else FreeMem(sn, sizeof(struct SiteNode));
  ^~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
SiteWindow.c: In function 'NewClicked':
SiteWindow.c:1662:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     sn=AllocMem(sizeof(struct SiteNode), MEMF_CLEAR);
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
SiteWindow.c:1694:2: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
  else  FreeMem(sn, sizeof(struct SiteNode));
  ^~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
ppc-amigaos-gcc o/version.o o/bsdsocket.o o/tcp.o o/ADT.o o/aguide.o o/AmiFTP.o o/AmiFTP_Cat.o o/cache.o o/change_dir.o o/config.o o/ConnectWindow.o o/data.o o/dirlist.o o/dofuncs.o o/ftp.o o/locale.o o/main.o o/MainWindow.o o/Menu.o o/misc.o o/PrefsWindow.o o/readdir.o o/rexx.o o/SiteWindow.o o/SpeedBar.o o/TransferWindow.o -lauto -o AmiFTP
7.RAM Disk:AmiFTP-master/src/amiftp>
Gruß Thomas
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von IconDesigner am 21. Januar 2020 18:52, insgesamt 6-mal geändert.
Peg2/G4 1GB Ram, Radeon 9250, 1 TB SSD plus 4 GB HDD und AmigaOS 4.1 FE
A4000D/60-PPC 128 MB Ram, CV-PPC, 4 GB HDD und AmigaOS 3.9 >>>RIP<<<
A4000D/60 64 MB Ram, CV-64, 4 GB HDD und AmigaOS 3.5
WinUAE und AmigaOS 4.1 FE Classic
Qemu auf Linux; 2GB Ram und AmigaOS 4.1 FE für Peg2
Benutzeravatar
IconDesigner
Beiträge: 410
Registriert: 29. Dezember 2016 17:00
Hat sich bedankt: 20 Mal
Danksagung erhalten: 24 Mal

Re: [WIP] AmiFTP

Beitrag von IconDesigner »

Goos hat geschrieben: 21. Januar 2020 17:52
Cyborg hat geschrieben: 21. Januar 2020 15:08 Also bitte... nicht einfach etwas rauswerfen, nur weil Du es nie benutzt hast oder es Dir suspekt ist ... das erinnert mich so sehr an ein gewisses anderes Projekt von jemanden, das wir uns mal angesehen haben :roll: :roll: :roll:

Ein Amiga-FTP-Client muß m.E. einfach auch ein AminetDownloadTool sein. Das gehört dazu und wenn es nicht sauber funktioniert, muß es eben gefixt werden. Außer, Du willst das Feature "für später" aufheben ;)
Ok wenn es so viele gibt die es auch nutzen kann ich es mir ja ansehen ;)
Muss mir nur erstmal klar werden was ein AminetDownloadTool zusätzlich macht, muss das unbedingt im ASCII mode übertragen ?
Ich sage mal eherlich, der Standart 14 Tage Upload, Modus würde mir reichen!
Alles andere kann man ja Browse bzw. "LIST" Modus (also die Übersicht der Verzeichnisse)
Dies ist aber nicht nur bei "AmiNET" so ´, auch bei "OS4Depot" gibt es die neusten Upload (also der 14 Tage Modus)
!

Gruß Thomas
Peg2/G4 1GB Ram, Radeon 9250, 1 TB SSD plus 4 GB HDD und AmigaOS 4.1 FE
A4000D/60-PPC 128 MB Ram, CV-PPC, 4 GB HDD und AmigaOS 3.9 >>>RIP<<<
A4000D/60 64 MB Ram, CV-64, 4 GB HDD und AmigaOS 3.5
WinUAE und AmigaOS 4.1 FE Classic
Qemu auf Linux; 2GB Ram und AmigaOS 4.1 FE für Peg2
Benutzeravatar
root
Beiträge: 794
Registriert: 3. Oktober 2009 11:21
Wohnort: Berlin
Hat sich bedankt: 28 Mal
Danksagung erhalten: 33 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von root »

Krass! Ich hab mein SDK auch mal geupdatet und siehe da:
Q3 Keygen_alt 70351 byte
Q3 Keygen_neu 9629 byte

locker 6000 byte kleiner geworden
X5000 E5500 | 4GB Ram | Radeon R9 270 Windforce | TerraTec 512i :thinking:
Benutzeravatar
amifrog
Beiträge: 733
Registriert: 16. Juni 2017 22:58

Re: [WIP] AmiFTP

Beitrag von amifrog »

Das rechnest du aber noch mal mit beiden Händen nach... :rofl:
root hat geschrieben: 21. Januar 2020 20:38 Krass! Ich hab mein SDK auch mal geupdatet und siehe da:
Q3 Keygen_alt 70351 byte
Q3 Keygen_neu 9629 byte

locker 6000 byte kleiner geworden
cgutjahr
Beiträge: 301
Registriert: 2. Oktober 2009 15:18
Danksagung erhalten: 1 Mal

Re: [WIP] AmiFTP

Beitrag von cgutjahr »

Goos hat geschrieben: 21. Januar 2020 17:52 Ok wenn es so viele gibt die es auch nutzen kann ich es mir ja ansehen ;)
Muss mir nur erstmal klar werden was ein AminetDownloadTool zusätzlich macht, muss das unbedingt im ASCII mode übertragen ?
Ein ADT-Client kann statt eines normalen Verzeichnislistings eine Übersicht ähnlich dem Web-Interface anzeigen: Dateiname, Pfad, Größe, Short. Das ist möglich, weil der Server speziell formatierte ASCII-Dateien bereit stellt, die pro Datei eine Zeile enthalten: "filesize@path@filename@Age@short". Das geht im Optimalfall sowohl für RECENT, als auch für die einzelnen Verzeichnisse. ADT-Clients zeigen normalerweise die "Message of the day" (falls sie sich geändert hat) und die neuen Dateien seid dem letzten Besuch.

Es gab auch eine Suchfunktion, die ist aber seit 15 Jahren oder so Geschichte weil der Daemon nicht mehr auf dem Aminet-Server läuft. Manche Clients hatten auch eine selbst implementierte Suche (Gesamtindex herunterladen, dann darin suchen).

Wie viel davon AmiFTP implementiert hatte bzw. zu implementieren versucht hat, kann ich dir nicht sagen. Hier stürzt es gerade nur ab wenn ich den Aminet-Modus aktiviere, da muss ich mal ein bisschen herumprobieren.
Benutzeravatar
djbase
Beiträge: 971
Registriert: 15. Oktober 2015 06:45
Wohnort: Mannheim
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von djbase »

@IconDesigner

Ich denke Frank hat die alte Iconleiste aktuell entfernt und die neue einfach nur noch nicht implementiert?
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
:commodore: Amiga 600 | Vampire 600 II | 128 MB RAM | Indivision ECS Mk3 | 128GB CF | AmigaOS 3.2.2
:commodore: Amiga 1200 | Vampire 1200 II | 128 MB RAM | Indivision AGA Mk3 | 128GB CF | AmigaOS 3.2.2
:boing: AmigaOne X1000 | 1.8 GHz | 4 GB RAM | Radeon R7 250X | 250 GB SATA SSD | AmigaOS 4.1
Antworten