The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

Ftp upload pbs...
http://www.weathergraphics.com/forum/viewtopic.php?f=9&t=850
Page 1 of 3

Author:  Chris74 [ Fri Jan 06, 2006 6:06 pm ]
Post subject:  Ftp upload pbs...

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,[url]ftp://xxx@xxx:xxx@domain/www/images/impacts/impacts.jpg,C:\Temp2\Temp2\orages\impact.jpg[/url]

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

Author:  wxforecaster [ Fri Jan 06, 2006 6:54 pm ]
Post subject: 

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

Author:  Chris74 [ Fri Jan 06, 2006 6:59 pm ]
Post subject: 

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

Chris74

Author:  Chris74 [ Fri Jan 06, 2006 8:26 pm ]
Post subject: 

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

SPAWN...

Chris

Author:  Sirlight87 [ Sat Mar 25, 2006 11:31 pm ]
Post subject: 

hi, i have the same problem, but i don't understand how you have done to avoid that's problem!!!!

Author:  Chris74 [ Sun Mar 26, 2006 9:22 am ]
Post subject: 

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,[url]http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D_sfuk31.wmo,c:\meteo\sfuk31.wmo[/url]
download,[url]http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D_sfuk30.wmo,c:\meteo\sfuk30.wmo[/url]

#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

Author:  Chris74 [ Sun Mar 26, 2006 9:28 am ]
Post subject: 

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

Ciao,
Chris

Author:  Sirlight87 [ Sun Mar 26, 2006 5:49 pm ]
Post subject: 

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


Author:  Chris74 [ Sun Mar 26, 2006 8:55 pm ]
Post subject: 

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

Author:  Sirlight87 [ Sun Mar 26, 2006 9:37 pm ]
Post subject: 

here is my script, but the map isn't plotted!!! perhaps for the last script in bold?

download,[url]http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D_sfuk31.wmo,c:\mappe\sfuk31.wmo[/url]
download,[url]http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D_sfuk30.wmo,c:\mappe\sfuk30.wmo[/url]
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

????

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/