Page 1 of 1
What is the organization of the EQSL image download directory?
Posted: 28 Jun 2016, 19:56
by WK2Y
I can see that the images in the EQSL image download directory are arranged by years, but I can't make sense of the subfolders. They are increasing numbers, e.g., 1,6, 15, etc. I thought at first the number might be the day of the year (1 to 365), but I see the numbers go well beyond 365.
Thanks in advance.
73
Bob
WK2Y
Re: What is the organization of the EQSL image download directory?
Posted: 29 Jun 2016, 07:14
by G4POP
I think you will find its a Log4OM internal reference to enable the QSL to be linked to the QSO or download, only Lele can answer this
Re: What is the organization of the EQSL image download directory?
Posted: 29 Jun 2016, 11:27
by WK2Y
That would make more sense then some of the theories I have come up with.
Thanks for getting back to me.
73
Bob
WK2Y
Re: What is the organization of the EQSL image download directory?
Posted: 03 Jul 2016, 23:23
by K8SMS
My eQSLs are arranged in the DXCC "Entity" Numbers, i.e., 1=Canada, 291=USA K/N/W, 248=Italy, 223=G/GX/M, etc.
Re: What is the organization of the EQSL image download directory?
Posted: 04 Jul 2016, 18:24
by WK2Y
Now that does make sense!
Thanks for getting back to me and Happy 4th.
73
Bob
WK2Y
Re: What is the organization of the EQSL image download directory?
Posted: 04 Jul 2016, 18:38
by G4POP
We learn something every day, why did I not think of that

Re: What is the organization of the EQSL image download directory?
Posted: 09 Aug 2016, 14:19
by IW3HMH
Path is build as follow:
If STATION CALLSIGN is not set in your log
\GENERIC\ + year + \ + dxcc
else
\<STATIONCALLSIGN>\ + year + \ + dxcc
That way you can have all QSL of a specific year, divided into dxcc codes.
This helps keeping the number of files into folder to a reasonable number even for large logs.
Nerds will enjoy
Code: Select all
try
{
string path = string.Empty;
#region Path
if (string.IsNullOrEmpty(qso.StationCallsign))
{
path = Constants.Log4OMQSLFolder.TrimEnd('\\') + "\\GENERIC\\";
}
else
{
path = Constants.Log4OMQSLFolder.TrimEnd('\\') + "\\" + qso.StationCallsign.Replace("\\", "-").Replace("/", "-") + "\\";
}
path += qso.QsoDate.Substring(0, 4) + "\\";
if (string.IsNullOrEmpty(qso.Dxcc) == false && qso.Dxcc != "0")
{
if (Directory.Exists(path + qso.Dxcc.Trim()) == false)
{
Directory.CreateDirectory(path + qso.Dxcc.Trim());
}
path += qso.Dxcc.Trim() + "\\";
}
else
{
if (Directory.Exists(path + "UNDEFINED") == false)
{
Directory.CreateDirectory(path + "UNDEFINED");
}
path += "UNDEFINED" + "\\";
}
#endregion
return path;
}
catch (Exception exc)
{
LogWriter.Write(exc);
return string.Empty;
}
Re: What is the organization of the EQSL image download directory?
Posted: 10 Aug 2016, 20:21
by WK2Y
Probably a little more in depth than I really need, but I do appreciate the reply.
73 and thanks.
Bob
WK2Y
Re: What is the organization of the EQSL image download directory?
Posted: 19 Aug 2016, 15:46
by IW3HMH
Yes, deeper but usually some users like to open the car to see what is moving it... and sometime showing the code could be nicer and easier to understand...