GR8FTP bug report thread

Pagina 2/10
1 | | 3 | 4 | 5 | 6 | 7

Van Louthrax

Prophet (2439)

afbeelding van Louthrax

24-10-2017, 15:23

edoz wrote:

And, was the ISO download completed ? Wink And yes.. it would be nice if you can share some source code. Not sure if i can re-use it but would be cool to make something like this as well. Big smile Big smile

It worked from my local FTP server but I had some problems with externel servers (I was getting kicked out after a while, maybe because the download speed is too slow, not sure...).

Van Victor

Champion (509)

afbeelding van Victor

24-10-2017, 17:58

It's great that you're doing your own program!!!

The ObsoFTP server from Konaminan is in C: source Code

Van edoz

Prophet (2478)

afbeelding van edoz

26-10-2017, 15:55

Louthrax wrote:
edoz wrote:

And, was the ISO download completed ? Wink And yes.. it would be nice if you can share some source code. Not sure if i can re-use it but would be cool to make something like this as well. Big smile Big smile

It worked from my local FTP server but I had some problems with externel servers (I was getting kicked out after a while, maybe because the download speed is too slow, not sure...).

But after a disconnect are you able to continue the download? That is the benefit of having FTP.

Van meits

Scribe (6535)

afbeelding van meits

26-10-2017, 19:59

Isn't that a local setting in modern ftp clients?

Van Louthrax

Prophet (2439)

afbeelding van Louthrax

07-11-2017, 22:36

I added recursive and "update-only" commands to GR8FTP (both directions), also increased a lot the transfer speed using 16KB buffers instead of 2KB only. Version has been changed to 2.0 (as lots of things have changed), and is available on my website. Let me know if you see problems.

[EDIT]: Delete your browser cache to see the update on my website, the time on the host I'm using is wrongly set (plus lots of other problems when uploading things), time for me to move to another place :)

Here's the new usage and commands:

GR8FTP 2.0 by Louthrax

GR8FTP is an MSX-DOS 2 FTP client
for GR8NET

Remote FTP server has to support
STAT command and passive mode

Usage: GR8FTP  [commands]

server is an FTP server

[commands] is an optional list of
FTP commands separated by "!",
spaces must be replaced with "*"

GR8FTP specific commands:

CD [remote_dir]
  Go to [remote_dir] on
  server, or display current
  directory if not specified

DIR [remote_dir]
  List content of [remote_dir] on
  server, or current directory if
  not specified

GET  [local_file]
  Get  from server to
  current directory on local
  machine, or to [local_file] if
  specified

GETU  [local_file]
  Same as GET but only if
  [local_file] is older than
  

GETR [remote_dir] [local_dir]
  Recursively get directory from
  server to directory on local
  machine.It not specified, current
  directories are used

GETRU [remote_dir] [local_dir]
  Same as GETR but only if local
  files are older than remote
  files

HELP
  Display this help, plus remote
  help

LCD [local_dir]
  Go to [local_dir] on local
  machine, or display current
  directory if not specified

LDIR [local_dir]
  List content of [local_dir] on
  local machine, or current
  directory if not specified

PUT  [remote_file]
  Put  from local
   machine to current directory on
   server, or to [remote_file] if
   specified

PUTU [local_file] [remote_file]
  Same as PUT but only if
   is older than
  [local_file]

PUTR [local_dir] [remote_dir]
  Recursively put directory from
  local machine to directory
  on server. It not specified,
  current directories are used

PUTRU [local_dir] [remote_dir]
  Same as PUTR but only if remote
  files are older than local files

QUIT
  Disconnect from server and quit

VERBOSE [0|1]
  Set verbose mode to ON (1) or OFF
  (0), or display current mode if
  not specified

Van erikmaas

Expert (70)

afbeelding van erikmaas

08-11-2017, 08:56

Gr8!

Especially the GETRU command will be very useful. I was already breaking my head on finding a proper solution to keep my files in sync between PC and MSX without having to swap SD cards all the time.

Van Wolverine_nl

Paragon (1160)

afbeelding van Wolverine_nl

08-11-2017, 11:44

@louthrax:
3 words:
This is awesome! Big smile

Van Louthrax

Prophet (2439)

afbeelding van Louthrax

08-11-2017, 13:20

Thanks guys, that tool was indeed made to sync PC and MSX without hassle Smile

I've added added some example batch files in the documentation:

Here  are two   example .BAT  files  recursively  updating current
directory between  MSX and server:

UPDLOCAL.BAT
  gr8ftp.com 192.168.0.200 user*anonymous!pass!getru*%_CWP%*%_CWP%!quit

UPDREMOT.BAT
  gr8ftp.com 192.168.0.200 user*anonymous!pass!putru*%_CWP%*%_CWP%!quit

Be sure that your  MSX has an accurate  RTC time set, or  configure
your GR8NET    to  automatically    synchronize  RTC  time  with an
NTP server.  Here are   the BASIC   commands to   do that  for  the
French time-zone (UTC+1):
  call netsetntp(145,238,203,10,128+4)
  call netsave

And I've added a command to activate or deactivate the file pre-allocation:

PA [0|1]
  Set pre-allocation mode to ON (1) or OFF (0), or display  current
  mode if not specified. PA  1 boosts file writings, but  might not
  work on some MSX-DOS 2 versions

Also note that some of the GETx and PUTx commands description's in my previous post were missing arguments (the "code" sections in MRC are removing <> quoted sequences). Just check the "Usage" section of GR8FTP on my website for a complete documentation.

Van Grauw

Ascended (10720)

afbeelding van Grauw

08-11-2017, 13:58

Van Louthrax

Prophet (2439)

afbeelding van Louthrax

08-11-2017, 14:06

Yeah, I knew about that trick but most of the time it's too late to edit my post when I notice the problem ;(

Pagina 2/10
1 | | 3 | 4 | 5 | 6 | 7