Page 1 of 3
Ftp upload pbs...
Posted: Fri Jan 06, 2006 6:06 pm
by Chris74
Dear all,
I'm new to DA. I like the program although I had to fight a little bit.
I'm trying to solve a problem with the ftp upload feature:
upload,
ftp://xxx@xxx:xxx@domain/www/images/imp ... impact.jpg
doesn't work for me. The "@" in the login is necessary as it is part of my login, it may be the problem... Otherwise, this piece of soft is very nice.
Chris / France
Posted: Fri Jan 06, 2006 6:54 pm
by wxforecaster
I never heard of @ for a log in. Are you sure that is correct. You might want to try using a "." because the @ is a object that the software will reconize as a time sybole.. I think
Posted: Fri Jan 06, 2006 6:59 pm
by Chris74
Well that's the way my provider works. I hope I won't have to find an external soft to uploadm
(
Chris74
Posted: Fri Jan 06, 2006 8:26 pm
by Chris74
I could resolve the pb using an external ftp batch, like in the old times
SPAWN...
Chris
Posted: Sat Mar 25, 2006 11:31 pm
by Sirlight87
hi, i have the same problem, but i don't understand how you have done to avoid that's problem!!!!
Posted: Sun Mar 26, 2006 9:22 am
by Chris74
Ciao,
Here are my scripts for lightning impacts by example... You must create the directory c:/meteo and put there the ftp connection script shown below the DA script.
----------------------------------------------------------------
DA script
#FRONTS & SPHERICS
download,
http://www.atmos.albany.edu/weather/dat ... sfuk31.wmo
download,
http://www.atmos.albany.edu/weather/dat ... sfuk30.wmo
#INGEST
ingest,c:\meteo\*.wmo
#Create France map
ERASE
LOAD,C:\Program Files\DigitalAtmosphereWS\france.dmf
CITY
product,sf0,plot
product,sf6,plot
STAMP
export,C:\meteo\france.jpg
SPAWN,c:\meteo\upload.bat,,0
-----------------------------------------
file c:/meteo/upload.bat
open ftp.xxx.xxx
ftp login
ftp pass
cd /...
binary
send france.jpg
bye
------------------------------------------
Hope it helps...
Chris
Posted: Sun Mar 26, 2006 9:28 am
by Chris74
FYI it works well for me on 98 - 2000 and XP
Ciao,
Chris
Posted: Sun Mar 26, 2006 5:49 pm
by Sirlight87
Ok, thanks a lot! But i don't understand what have i put in cd /... and binary!
Chris74 wrote:
file c:/meteo/upload.bat
open ftp.xxx.xxx
ftp login
ftp pass
cd /...
binary
send france.jpg
bye
Posted: Sun Mar 26, 2006 8:55 pm
by Chris74
Hi there,
You may not need to put cd/... This is just to put the file where you like, by example you may want to put it in the folder /images of your ftp.
Binary is the transfer mode. You can select ascii or binary, in our case, binary is preferable...
Ciao,
Chris
Posted: Sun Mar 26, 2006 9:37 pm
by Sirlight87
here is my script, but the map isn't plotted!!! perhaps for the last script in bold?
download,
http://www.atmos.albany.edu/weather/dat ... sfuk31.wmo
download,
http://www.atmos.albany.edu/weather/dat ... sfuk30.wmo
ingest,c:\mappe\*.wmo
ERASE
CITY
product,sf0,plot
product,sf6,plot
STAMP
export,C:\mappe\france.jpg
SPAWN,c:\mappe\upload.bat,,0
open ftp.meteobitonto.it
ftp userid
ftp PASSWORD
cd /dati/
binary
send france.jpg
the link for the map is
http://www.meteobitonto.it/dati/france.jpg but i can't see the map!
can the last script be written such as...
open ftp.meteobitonto.it
ftp login userid
ftp pass PASSWORD
cd /dati
binary
send france.jpg
????