Author Topic: Internet: Uploading from CPC?  (Read 941 times)

0 Members and 1 Guest are viewing this topic.

Offline m_dr_m

  • CPC6128
  • ****
  • Posts: 279
  • Country: gb
  • http://orgams.wikidot.com/
    • OrgaMS!
  • Liked: 181
  • Likes Given: 198
Internet: Uploading from CPC?
« on: 18:56, 17 February 21 »
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!

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 1.236
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 1143
  • Likes Given: 806
_____________________

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 welcomed !

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.806
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 1304
  • Likes Given: 3038
Re: Internet: Uploading from CPC?
« Reply #2 on: 03:22, 18 February 21 »
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: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline m_dr_m

  • CPC6128
  • ****
  • Posts: 279
  • Country: gb
  • http://orgams.wikidot.com/
    • OrgaMS!
  • Liked: 181
  • Likes Given: 198
Re: Internet: Uploading from CPC?
« Reply #3 on: 22:32, 27 April 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.

Offline zhulien

  • 6128 Plus
  • ******
  • Posts: 790
  • Country: au
  • aka Vorax
    • 8bitology
  • Liked: 322
  • Likes Given: 340
Re: Internet: Uploading from CPC?
« Reply #4 on: 08:33, 28 April 21 »
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.

Offline zhulien

  • 6128 Plus
  • ******
  • Posts: 790
  • Country: au
  • aka Vorax
    • 8bitology
  • Liked: 322
  • Likes Given: 340
Re: Internet: Uploading from CPC?
« Reply #5 on: 08:44, 28 April 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.

« Last Edit: 08:52, 28 April 21 by zhulien »