Here's how I've been trying to go at it...
mob
verb
Upload(F as file)
?????? << ftp(F)
What do I put in for ?????? I want to allow users the ability to upload a file that will be stored on the server. Not cached but actually stored as a file. This seems like it should be simple and easy to do, but I can't find a solution searching the forums. Help is greatly appreciated. Thank you.
ID:148105
Jul 10 2003, 4:14 am
|
|
Jul 10 2003, 4:16 am
|
|
so it can be manipulated later you mean and used around the whole program... I was wondering that too
|
In response to Da_Rushyo
|
|
Exactly. It _should_ be simple. I'm back to using fcopy.
Upload(F as file) fcopy(F,"audio1.mp3") Which works fine locally, but once running online dreamseeker crashes out about a third of the way through upload (around the 1MB mark or so). I tried putting a sleep before the fcopy incase the file was being renamed while still being only partly uploaded. Nope, still crashed near the same point. |
In response to Grei
|
|
very unlikely to work but try using 'set background = 1'....
|
In response to Da_Rushyo
|
|
No go. Wish it didn't work locally, than I could try fixing the problem rather than trying to find another way to do the same thing.
|