And, was the ISO download completed ? 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.
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...).
It's great that you're doing your own program!!!
The ObsoFTP server from Konaminan is in C: source Code
And, was the ISO download completed ? 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.
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.
Isn't that a local setting in modern ftp clients?
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
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.
@louthrax:
3 words:
This is awesome!
Thanks guys, that tool was indeed made to sync PC and MSX without hassle
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.
Yeah, I knew about that trick but most of the time it's too late to edit my post when I notice the problem ;(