Page 1 of 1

Scripting help/Upload function

Posted: Tue Jul 27, 2004 5:44 am
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

Posted: Tue Jul 27, 2004 4:55 pm
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

Posted: Tue Jul 27, 2004 6:02 pm
by TimWest
Maybe its a passive rather than normal ftp type? There appears no way to select which method from within DAWS.

Posted: Tue Jul 27, 2004 6:18 pm
by Tim Vasquez
That could also be a problem. Passive FTP is not supported as it is a more complex type of connection.