My question, if I'm downloading www.aserver.com/image1.gif, can I make the image1.gif become 2006053115_Image1.gif.
Basically a year, month, day, time prefix.
Thanks for a great product.
Bryan
Best regards,
Oleg Chernavin
MP Staff
>
> Best regards,
> Oleg Chernavin
> MP Staff
Oleg,
Thanks for your answer. This would be a valuable added option (for me anyway :)
If you ever get board and wonder what next... then maybe this could be added.
Thanks again.
Bryan
Oleg.
>
> Oleg.
I'm not sure what you mean. Can you please explain or provide a reference?
Thanks!
Bryan
URL:
image*.gif
Replace:
image
With:
{:0day}{:0month}{:year}-image
Oleg.
>
> URL:
> image*.gif
> Replace:
> image
> With:
> {:0day}{:0month}{:year}-image
>
> Oleg.
Oleg,
From my tests, URL substitutes only work by changing the url to download, not the filename of the downloaded file. For example, I want to rename the downloaded file "file1.gif" to 2006053112_Filename.gif
Is this possible?
Thanks!
Bryan
Oleg.
>
> Oleg.
I think I'm still bad at explaining what I'm trying to do:
The url and file name that I'm downloading will never change. I want the file that is downloaded to be changed (file name) after it is downloaded. From File1.gif to 2006060215_File.gif (this change will occur only after the download... basically a renaming procedure when the download is complete.
Thanks!
Bryan
Oleg.
>
> Oleg
Oleg,
Thanks for your help. Your tip works great.
Is there any way to make the year 4 digits? 2006 instead of 06?
I'm using {:year} currently.
Regards,
Bryan
Oleg.
Did this change with the release of 4.3.2421?
Because now no matter if I check or uncheck the rule in the URL substitutions, OE Pro tries to substitue the request and comes back with 404 Not Found.
Previously if I left the rule unchecked, it would only modify the downloaded file name (which is what I want).
Thanks!
Bryan
> > Yes, this is what I am talking about - uncheck the rule and it will work only after the original (unchanged) URL will be loaded - the file will be renamed.
> >
> > Oleg
>
> Oleg,
>
> Thanks for your help. Your tip works great.
>
> Is there any way to make the year 4 digits? 2006 instead of 06?
>
> I'm using {:year} currently.
>
> Regards,
> Bryan
Here are the details for the above post:
URL: http://www.srh.noaa.gov/ridge/Conus/RadarImg/centgrtlakes_radaronly.gif
Replace: centgrtlakes_radaronly.gif
With: US Cent Great Lakes/{:longyear}_{:0month)_{:0day}_{:0hour){:0minute)_Cent Great Lakes.gif
Basically forcing the new file name and into a new folder with date info in front of the file name....
I've added the rule and uncheck the checkbox.
Bryan
Oleg.
>
> Oleg.
Oleg, as far as I can tell, I'm doing what I previously did. I've copied my project and posted here. Can you see why it is not downloading and renaming the downloaded image?
Thanks!
Bryan
[Object]
OEVersion=Pro 4.3.0.2421
Type=0
IID=7032
Caption=Radar - US Cent Great Lakes
URL=http://www.srh.noaa.gov/ridge/Conus/RadarImg/centgrtlakes_radaronly.gif
Lev=1
Weekday=257
LimTSize=10000
LimNumber=5000
LimTime=100
CheckSize=True
FTText.Exts=htmlhtmaspaspxjspstmstmlidcshtmlhtxtxttextxspxmlrxmlcfmwmlphpphp3
FTImages.Exts=gifjpgjpegtiftiffxbmfifbmppngipxjp2j2cj2kwbmplwf
FTVideo.Exts=mpgavianimpegmovfliflcvivrmramrvasfasxwmvm1vm2vvob
FTAudio.Exts=wavriffmp3midmp2m3uravocwmaape
FTArchive.Exts=ziparcgzzarjlhalayleirarcabtarpakacejarpdftgz
FTUDef.Exts=jscssssivbsdtdxslswfclass
FTText.B=xoxooo
FTImages.B=ooxooo
FTVideo.B=xoxooo
FTAudio.B=xoxooo
FTArchive.B=xoxooo
FTUDef.B=xoxooo
FTOther.B=xoxooo
FTSizes=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,0,3,0
RProt=127
LastStart=210:35:110:125:252:252:226:64:
LastEnd=42:68:114:125:252:252:226:64:
S400=1
SLast=404
LFiles=1
LSize=243
Substs=http://www.srh.noaa.gov/ridge/Conus/RadarImg/centgrtlakes_radaronly.gif centgrtlakes_radaronly.gif US_Cent_Great_Lakes/{:longyear}_{:0month)_{:0day}_{:0hour){:0minute)_CentGreatLakes.gif
ImgDim=0,0,0,0
PrevURL=http://www.srh.noaa.gov/ridge/Conus/RadarImg/US_Cent_Great_Lakes/2006_06_
US_Cent_Great_Lakes/{:longyear}_{:0month}_{:0day}_{:0hour}{:0minute}_CentGreatLakes.gif
Oleg.