Scripting help/Upload function

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
mesochaser
Junior Member
Posts: 2
Joined: Mon Jul 26, 2004 8:51 am
Location: Norman, OK
Contact:

Scripting help/Upload function

Post by mesochaser »

Can anybody help me with a script problem. I have written this script to plot a surface map, save it to disk, and then upload it to my website. Everything works but the upload function. I dont get any error in the status window it just goes straight to ready. The ftp address is correct because I can use this same line to log onto my website using AceFTP. Any help would be greatly appreciated.

make,1,45.583,-95,5000,800,600,0,0,1,1
ingest,c:\wx\data\surface.dat
erase
product,plf,0,Test plot
analyze, hilo cont cint=2 line=1.5 color=0,128,92 SLPR HSFC
stamp
export,c:\wx\surface\@HHZ.gif
upload,ftp://userid:password@members.cox.net/s ... e\@HHZ.gif

Thanks,
Aaron
Tim Vasquez
Administrator
Posts: 535
Joined: Sat Nov 22, 2003 10:47 pm

Post by Tim Vasquez »

I tested the upload command and it does work as you wrote (replacing the settings with my own server). You should check to make sure all the paths are valid, especially those on the host server. You should log in manually. Is "surface" offered as a valid directory immediately, before you type anything else? If not you'll need to find what directory you have to change to before that directory becomes available, and modify the path in the script accordingly.

Tim
TimWest
Member
Posts: 23
Joined: Sun Nov 23, 2003 9:22 pm
Location: UK

Post by TimWest »

Maybe its a passive rather than normal ftp type? There appears no way to select which method from within DAWS.
Tim Vasquez
Administrator
Posts: 535
Joined: Sat Nov 22, 2003 10:47 pm

Post by Tim Vasquez »

That could also be a problem. Passive FTP is not supported as it is a more complex type of connection.
Post Reply