Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / copy / move file wont work ?

Author
Message
simonuk74
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location:
Posted: 9th Jun 2003 23:17



what have I done wrong?
DB doesnt error, just that nothing copies

also, how would I copy from a webpage ?

copy file "http:\\www.thispage.com\pic1.jpg","F:\pic1.jpg"

doesnt work ?

simon
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 10th Jun 2003 00:08
No problem here, does the first file exist, and does the second one not exist ?

It'll be very hard to copy files from web site...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 10th Jun 2003 01:02
Surely a little plugin could be written MrTAToad to do an HTTP request to a website and store result in a string or something. This could be really useful to someone like me who does a lot of server-side web scripting with macromedia coldfusion.

You could run some database queries by calling a url, e.g. http://www.whatever.com?var1=1&var2=45&var3=67

This would create a web page which you could capture and do stuff with.

I could do a really good global high score system with this! Rather like the one in PneumaticDryll's Asteroids game, only better!

Gronda, Gronda
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 10th Jun 2003 01:35
Unfortunately, its an area I know nothing about...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2026-07-11 11:42:14
Your offset time is: 2026-07-11 11:42:14