News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_m_dr_m

Internet: Uploading from CPC?

Started by m_dr_m, 17:56, 17 February 21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m_dr_m

Hej! SymbOs has a `wget`, which is super sweet.

       
  • Is there a program (in SymbOs or not) to upload files?
  • Is there a server we could upload the files to?
Goal: collaborate and share new programs without having to leave the CPC!

Ast

_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

GUNHED

Gentleman, I love your attitude. Doing it all on the CPC/Plus is (imho) the highest goal.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

m_dr_m

Quote from: Ast on 18:58, 17 February 21
Do you ever try this ?

CPC Rulez • Consulter le sujet - Kit De téléchargement M4Wifi pour CPCRULEZ

It's only for downloading. I've propose the upload feature, but no news since then.

zhulien

You can upload 'slowly' using URL parameter encoded JSONP-like webservice calls, but it is far from ideal.


It is however perfectly ok for communications to the server for multiplayer games as well as fetch requests.


You could do a speed test for making multiple calls with eg: 128 encoded bytes per call... if you aren't transferring megabytes it could suffice.

zhulien

#5
Quote from: m_dr_m on 17:56, 17 February 21
Goal: collaborate and share new programs without having to leave the CPC!


I am in the process of coding an internet filesystem for CPC as a UniDOS plugin.  First I get the logic right so that I can code the webservice bit, then... get myself (if I am capable) or convince another person to code the Z80 bit.


The status: I only started a few weeks ago,


I've pseudocoded the logic for 15 of 25 functions required:  init, checkDrive, getStatus, getName, getDesc, getFreeSpace, rename, delete, createDir, setProtection, openNVRAM, closeNVRAM, readNVRAM, writeNVRAM, seekNVRAM


10 remaining: inOpenStream, inReadStream, inCloseStream, inSeekStream, outOpenStream, outWriteStream, outCloseStream, outSeekStream, examine, examineNext


To keep it simple from a design point of view: 


- either 1 drive 'n' with an owner and shared folder.  The owner folder is your writable copies of files, the shared is readonly everyones files including your own as readonly.


or


- 2 drives 'n' for your own files writable, 's' for shared


If you don't want to share, you delete the file from your area.  Everyone in the readonly area has a folder based on their userid they register with the server.




It will be treated as a mass storage device - with a defined per user limit on the server.




Collaboration is a great idea.  I setup 8bitology.net for creation of an API and browser spec that a CPC is capable of.  I had some interest from Prodatron to incorporate the Lobby into Symbos for multiplayer games but I think he has become very busy.  Nobody else seems interested in a CPC browser, CPC-capable websites (SDK is already on 8bitology.net) or the 8bitology API (messaging, lobby, achievements, file sharing).  Nor is anyone interested in the JS Compiler, VB6 compiler, or coding multiplayer games... not from a collaboration point of view anyway.


Powered by SMFPacks Menu Editor Mod