Ftp upload pbs...

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Chris74
Junior Member
Posts: 9
Joined: Fri Jan 06, 2006 5:55 pm

Ftp upload pbs...

Post 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
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post 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
Chris74
Junior Member
Posts: 9
Joined: Fri Jan 06, 2006 5:55 pm

Post by Chris74 »

Well that's the way my provider works. I hope I won't have to find an external soft to uploadm :-((

Chris74
Chris74
Junior Member
Posts: 9
Joined: Fri Jan 06, 2006 5:55 pm

Post by Chris74 »

I could resolve the pb using an external ftp batch, like in the old times ;-)

SPAWN...

Chris
Sirlight87
Member
Posts: 26
Joined: Sat Mar 25, 2006 10:48 pm
Location: Italy
Contact:

Post by Sirlight87 »

hi, i have the same problem, but i don't understand how you have done to avoid that's problem!!!!
Chris74
Junior Member
Posts: 9
Joined: Fri Jan 06, 2006 5:55 pm

Post 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
Chris74
Junior Member
Posts: 9
Joined: Fri Jan 06, 2006 5:55 pm

Post by Chris74 »

FYI it works well for me on 98 - 2000 and XP

Ciao,
Chris
Sirlight87
Member
Posts: 26
Joined: Sat Mar 25, 2006 10:48 pm
Location: Italy
Contact:

Post 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
Chris74
Junior Member
Posts: 9
Joined: Fri Jan 06, 2006 5:55 pm

Post 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
Sirlight87
Member
Posts: 26
Joined: Sat Mar 25, 2006 10:48 pm
Location: Italy
Contact:

Post 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

????
Post Reply