Some more FTP-commands

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Some more FTP-commands

Post by AND51 »

Hello!

Some time ago a german forum member asked about stopping a FTP-transfert.
He currently sends a FTP file in a thread and kills it KillThread(), which is not healthy at all.
Oviously, he is too new in the community, so I'd like to place a feature request for him into this sub-forum.

Can you please add some kind of callback-possibility and the possibility to abort a transfert?

Maybe, other users can write down more useful ideas in here.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
graves
Enthusiast
Enthusiast
Posts: 160
Joined: Wed Oct 03, 2007 2:38 pm
Location: To the deal with a pepper

Post by graves »

For me, can be very usefull to use "quote" ftp-command.
This command allows to execute programs on my ftp-server.

my typical ftp command sequence sounds like:

Code: Select all

put localfile.txt SERVERFILE             ; send a file to server
quote CALL PGM(MYPGM)                ; execute a program on the server
get NEWSRVFILE newlocalfile.txt      ; get output file from server
Post Reply