1. pFTP Alpha released

pFTP is an open source windows GUI FTP client.
It is also self-hosted, ie I used pFTP to upload pFTP ;)

http://palacebuilders.pwp.blueyonder.co.uk/pftp.htm

Regards,
Pete

new topic     » topic index » view message » categorize

2. Re: pFTP Alpha released

p.err file says

c:\pftp\demo\arwen\quick_allocations.ew:41 in function allocate_StringZ()
length of an atom is not defined
    string = -1
    len = <no value>
    temp = <no value>

... called from c:\pftp\demo\arwen\pftp.exw:339

Global & Local Variables

 c:\pftp\demo\arwen\pftp.exw:
    ServerName = <no value>
    ServerPort = <no value>
    UserName = <no value>
    Password = <no value>
    localDir = <no value>
    remoteDir = <no value>
    ppocf = <no value>

 c:\pftp\demo\arwen\arwen.ew:
    void = 0
    ISMENUOWNERDRAWN = 0

 c:\pftp\demo\arwen\misc.e:
    pretty_fp_format = <no value>
    pretty_int_format = <no value>
    pretty_line = <no value>

 c:\pftp\demo\arwen\message_box.ew:
    lib = 2011103232
    msgbox_id = 2011247399
    get_active_id = 2011168137

 c:\pftp\demo\arwen\structures.ew:
    ListOfStructures = {16,8,8,4,4,8,64'@',4,24,40'(',1064,48'0',28,28,18,8,
                        76'L',44',',28,12,24,48'0',60'<',340,28,76'L',12,16,
                        36'$',69'E',32' ',52'4',24,44',',64'@',20,32' ',12,
                        16,68'D',40'(',40'(',48'0',52'4',104'h',16,36'$',
                        44',',40'(',8,318}
    CurrentStructure = 51'3'
    LatestSize = 318

 c:\pftp\demo\arwen\quick_allocations.ew:
    LabelPointerStart = 8617008
    LabelBlockSize = 100000
    LabelPointer = 8617846
    LabelPointerEnd = 8717006
    lpMultiListIndex = 8717016
    MultiListIndex_size = 200'?
    ScrollBlocks = {8717248,8717276,8717304,8717332,8717360,8717388,8717416,
                    8717444,8717472,8717500,8717528,8717556,8717584,8717612,
                    8717640,8717668,8717696,8717724,8717752,8717780,8717808,
                    8717836,8717864,8717892,8717920,8717948,8717976,8718004,
                    8718032,8718060,8718088,8718116,8718144,8718172,8718200,
                    8718228,8718256,8718284,8718312,8718340,8718368,8718396,
                    8718424,8718452,8718480,8718508,8718536,8718564,8718592,
                    8718620,8718648,8718676,8718704,8718732,8718760,8718788,
                    8718816,8718844,8718872,8718900,8718928,8718956,8718984,
                    8719012,8719040,8719068,8719096,8719124,8719152,8719180,
                    8719208,8719236,8719264,8719292,8719320,8719348,8719376,
                    8719404,8719432,8719460,8719488,8719516,8719544,8719572,
                    8719600,8719628,8719656,8719684,8719712,8719740,8719768,
                    8719796,8719824,8719852,8719880,8719908,8719936,8719964,
                    8719992,8720020}
    CurrentScrollBlock = 0
    PaintBlocks = {8720480,8720544,8720608,8720672,8720736,8720800,8720864,
                   8720928,8720992,8721056,8721120,8721184,8721248,8721312,
                   8721376,8721440,8721504,8721568,8721632,8721696,8721760,
                   8721824,8721888,8721952,8722016,8722080,8722144,8722208,
                   8722272,8722336,8722400,8722464,8722528,8722592,8722656,
                   8722720,8722784,8722848,8722912,8722976,8723040,8723104,
                   8723168,8723232,8723296,8723360,8723424,8723488,8723552,
                   8723616,8723680,8723744,8723808,8723872,8723936,8724000,
                   8724064,8724128,8724192,8724256,8724320,8724384,8724448,
                   8724512,8724576,8724640,8724704,8724768,8724832,8724896,
                   8724960,8725024,8725088,8725152,8725216,8725280,8725344,
                   8725408,8725472,8725536,8725600,8725664,8725728,8725792,
                   8725856,8725920,8725984,8726048,8726112,8726176,8726240,
                   8726304,8726368,8726432,8726496,8726560,8726624,8726688,
                   8726752,8726816}
    CurrentPaintBlock = 0
    RectBlocks = {8727312,8727328,8727344,8727360,8727376,8727392,8727408,
                  8727424,8727440,8727456,8727472,8727488,8727504,8727520,
                  8727536,8727552,8727568,8727584,8727600,8727616,8727632,
                  8727648,8727664,8727680,8727696,8727712,8727728,8727744,
                  8727760,8727776}
    CurrentRectBlock = 2
    PointBlocks = {8727800,8727808,8727816,8727824,8727832,8727840,8727848,
                   8727856,8727864,8727872,8727880,8727888,8727896,8727904,
                   8727912,8727920,8727928,8727936,8727944,8727952,8727960,
                   8727968,8727976,8727984,8727992,8728000,8728008,8728016,
                   8728024,8728032}
    CurrentPointBlock = 0
    MenuBlocks = {8728184,8728228,8728272,8728316,8728360,8728404,8728448,
                  8728492,8728536,8728580,8728624,8728668,8728712,8728756,
                  8728800,8728844,8728888,8728932,8728976,8729020,8729064,
                  8729108,8729152,8729196,8729240,8729284,8729328,8729372,
                  8729416,8729460}
    CurrentMenuBlock = 20

 c:\pftp\demo\arwen\classes.ew:
    NUMCLASSES = 35'#'
    AppClassName = "ARWEN Win32"
    className = {{}, "button", "button", "button", "button", "button",
                 "button", "button", "button", "listbox", "combobox",
                 "combobox", "combobox", "edit", "edit", "static",
                 "scrollbar", "scrollbar", "static", {}, {}, {},
                 "ToolbarWindow32", {}, "msctls_statusbar32", "StatusField",
                 "msctls_trackbar32", "msctls_trackbar32",
                 "SysTabControl32", {}, "msctls_progress32", 0, "button",
                 "SysListView32", "SysTreeView32"}
    classBase = {0,1,1,1,1,1,1,1,1,5,4,4,4,3,3,6,9,9,6,2,2,2,12,0,8,8,10,10,
                 12,0,11,0,13,12,12}
    classStyle = {13565952,1342242816,1342246784,1342246915,1342247043,
                  1342242825,1342242819,1342242822,1342177287,1352728577,
                  1344339971,1344339969,1344340034,1350631552,1353777348,
                  1342177280,1342242816,1342242817,1342177294,0,0,0,
                  1417740289,0,1342177539,0,1342242816,1342242818,
                  1375744000,65536,1342177280,0,1342279435,1342242881,
                  1342242823}
    classStyleEx = {16,0,0,0,0,0,0,0,0,528,512,512,512,528,528,0,0,0,0,0,0,
                    0,0,0,0,0,0,0,65536,0,0,0,0,512,512}
    classDefaults = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                     0,0,0,0,0,0,0,0}
    classAttr = {0,0,4,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,
                 0,0,0,0,0,0}
    classBGColor = {13160660,13160660,13160660,13160660,13160660,13160660,
                    -1,13160660,13160660,16777215,16777215,16777215,
                    16777215,16777215,16777215,-1,13160660,13160660,
                    13160660,13160660,13160660,13160660,13160660,13160660,
                    13160660,13160660,13160660,13160660,13160660,13160660,
                    13160660,13160660,13160660,16777215,16777215}

 c:\pftp\demo\arwen\arwen.ew:
    PrimaryWindowID = 1
    isAppStarted = 0
    IdleTimer = -1
    IDLEROUTINE = -1
    IDLEON = 0
    WndProcCallBack = 8734384
    SubProcCallBack = 8734416
    DlgProcCallBack = 8734552
    PrgProcCallBack = 8734584
    ObjectClass = {0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,1,4,1,6,6,12,12,
                   1,1,8,0,6,1,1,0,2,2,2,2,2,12,6,3,6,3,6,3,1,1,6,3,6,3,6,3,
                   6,3,1,1,1,8}
    ObjectType = {1,20,20,21,21,20,21,21,20,21,20,21,20,21,21,21,21,21,21,
                  11,2,11,2,16,16,34'"',34'"',3,3,25,1,16,2,2,1,20,20,21,20,
                  21,34'"',16,14,16,14,16,14,7,7,16,14,16,14,16,14,16,14,2,
                  2,2,25}
    ObjectHwnd = {1901196,245105011,880411269,0,0,198377915,0,0,155911077,0,
                  162202605,0,12780533,0,0,0,0,0,0,1573306,1442446,1573494,
                  1901000,4719270,2556288,1769932,3080650,1835400,2294370,
                  2097620,1769852,4457122,2490812,2294208,1966544,55706859,
                  9831541,0,29558061,0,3211940,2032010,1835636,2490758,
                  3867226,1835652,1442386,2490808,1835446,2031988,1966430,
                  2425202,1835376,3277158,1835384,1115744,1181104,1050056,
                  1181108,1312332,1836622}
    ObjectParent = {0,1,2,3,3,2,6,6,2,9,2,11,0,13,13,13,13,13,13,1,1,1,1,1,
                    1,1,1,1,1,1,1,31,31,31,1,35'#',36'$',37'%',36'$',39''',
                    35'#',35'#',35'#',35'#',35'#',35'#',35'#',35'#',35'#',
                    35'#',35'#',35'#',35'#',35'#',35'#',35'#',35'#',35'#',
                    35'#',35'#',35'#'}
    ObjectLabel = {"pFTP", {}, "&File", "&Site Manager\t(Ctrl O)", "E&xit",
                   "&View", "Refresh &Local\t(Ctrl L)",
                   "Refresh &Remote\t(Ctrl R)", "&Tools", "&Diag", "&Help",
                   "&About", {}, "?", "Rename", "?", "Create directory",
                   "Delete", "Refresh", {}, "&Connect", {}, "Run", {}, {},
                   {}, {}, {}, {}, {}, "Confirm Deletion", {}, "OK",
                   "Cancel", "Site Manager", {}, "&File", "E&xit", "&Help",
                   "&Contents", {}, "&Id", {}, "Ho&st:", {}, "Por&t:", "21",
                   "Lo&gin as anonymous", "Prompt pass&word on connect",
                   "&Username:", {}, "&Password:", {}, "&Local Path:", {},
                   "&Remote Path:", {}, "&Delete", "&Open", "&Cancel", {}}
    ObjectImage = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                   1074073267,-1257959735,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    ObjectFont = {25821225,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25821225,
                  25821225,25821225,25821225,25821225,25821225,25821225,
                  25821225,25821225,25821225,25821225,25821225,25821225,
                  25821225,25821225,25821225,0,0,0,0,0,25821225,25821225,
                  25821225,25821225,25821225,25821225,25821225,25821225,
                  25821225,25821225,25821225,25821225,25821225,25821225,
                  25821225,25821225,25821225,25821225,25821225,25821225,
                  25821225}
    ObjectTextColour = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                        -1,-1,-1,-1,-1,-1,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                        -1,-1,-1,-1,-1,-1,-1,-1,-1}
    ObjectBackColour = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    ObjectExtra = {{2,-1,30,-1,-1, "C", {21}, -503247089,-1}, 0,0,0,0,0,0,0,
                   0,0,0,0,0,0,0,0,0,0,0,-1,0,-1,0,0,0,
                   {1342246985,3,0,-1,1}, {1342246985,4,0,-1,1}, 0,0,0,
                   {-1,-1,-1,-1,-1, {}, {}, -318697812,-1}, 0,0,0,
                   {36'$',-1,61'=',-1,-1, "ISTGWUPLRDOC", "*,.012468:;<",
                    -1912533756,-1}, 0,0,0,0,0, {1342246977,1,0,6434,1}, 0,
                   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    ObjectChildren = {{20,21,22,23,24,25,26,27,28,29,30,31,35'#'}, -1,-1,-1,
                      -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                      -1,-1,-1,-1,-1,-1,-1, {}, " !\"", -1,-1,-1,
                      ")*+,-./0123456789:;<=", -1,-1,-1,-1,-1,-1,-1,-1,-1,
                      -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, {}}
    WndProcAddress = {8734384,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                      -1,-1,-1,2011150796,2011226159,2011150796,2011226159,
                      2011244297,2011244297,-64471,-64471,2011226159,
                      2011226159,-64187,8734384,2011244297,2011226159,
                      2011226159,8734384,-1,-1,-1,-1,-1,-64471,2011244297,
                      2011137035,2011244297,2011137035,2011244297,
                      2011137035,2011226159,2011226159,2011244297,
                      2011137035,2011244297,2011137035,2011244297,
                      2011137035,2011244297,2011137035,2011226159,
                      2011226159,2011226159,-64187}
    SubProcAddress = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                      -1,8734416,8734416,8734416,8734416,8734416,8734416,
                      8734416,8734416,8734416,8734416,8734416,-1,8734416,
                      8734416,8734416,-1,-1,-1,-1,-1,-1,8734416,8734416,
                      8734416,8734416,8734416,8734416,8734416,8734416,
                      8734416,8734416,8734416,8734416,8734416,8734416,
                      8734416,8734416,8734416,8734416,8734416,8734416,
                      8734416}
    HandlerRoutine = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                      -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7356,
                      -1,7283,-1,7283,-1,7356,-1,7356,7356,7356,7356,7356,
                      7356,7356,7356,7356,7356,7356,7356,7356,7356,7356,
                      7356,7356,7356,7356}
    DeletedObjects = {}
    lpCustom = 0
    lpCC = <no value>
    LVI = 8733584
    toolTipHwnd = 0
    ti = <no value>
    LV = 8733720
    ArrowCursor = 65553
    HandCursor = 32512
    NoCursor = 32512
    hBrush = -670036139
    TxtBack = 13160660

 c:\pftp\demo\arwen\pftp.exw:
    BupState = 0
    BdnState = 0
    rlOK = 0
    rrOK = 0
    M_Context = <no value>

 c:\pftp\builtins\penv.e:
    kernel32 = <no value>
    xGetEnvironmentVar = 0

 c:\pftp\demo\arwen\pftp.exw:
    Mtxtk = {{880411269,4}, {880411269,5}, {198377915,7}, {198377915,8},
             {155911077,10}, {162202605,12}, {12780533,14}, {12780533,15},
             {12780533,16}, {12780533,17}, {12780533,18}, {12780533,19}}
    Mtxt = {"Add/Manage ftp sites", "Terminate program",
            "Reload local (left) directory listing (if connection open)",
            "Reload remote (right) directory listing (if connection open)",
            "Dump possibly useful info to diag.txt (if connection open)",
            "Some help and author details",
            "Upload (local) or download (remote) selected files",
            "Rename file",
"Full directory browse (local) or change access permissions
            (remote)",
            "Create directory", "Delete",
            "Refresh Directory Listing (Ctrl L/R)"}
    TBicons = {1661275781,1074073267,1879379637,-1257959735}
    SMLVdata = {}
    SortColumn = <no value>
    Sign = <no value>
    dirS = <no value>
    dirSL = 1
    dirSR = 1
    DataL = <no value>
    DataR = <no value>

 c:\pftp\demo\arwen\get.e:
    input_file = <no value>
    input_string = <no value>
    string_next = <no value>
    ch = <no value>
    ESCAPED_CHARS = <no value>

 c:\pftp\demo\arwen\database.e:
    current_db = -1
    current_table = -1
    db_names = {}
    db_file_nums = {}
    db_lock_methods = {}
    current_lock = <no value>
    key_pointers = <no value>
    db_fatal_id = 9919
    mem0 = 8743256
    mem1 = 8743257
    mem2 = 8743258
    mem3 = 8743259
    memseq = {8743256,4}

 c:\pftp\demo\arwen\pfsm.ew:
    errCode = <no value>
    update = 1

 c:\pftp\builtins\syswait.ew:
    kernel32 = <no value>
    CreateProcess = <no value>
    WaitForSingleObject = <no value>
    CloseHandle = <no value>
    GetExitCodeProcess = <no value>

 c:\pftp\demo\arwen\pftp.exw:
    iconinfo = -1
    icon = <no value>
    extensionsL = <no value>
    extensionsR = <no value>

 c:\pftp\demo\arwen\pfinet.ew:
    net_errno = <no value>
    net_errmsg = <no value>
    pBlock = <no value>
    prevBlen = 0

 c:\pftp\demo\arwen\pftp.exw:
    hSession = <no value>
    hConnection = <no value>
    lpath = <no value>
    rpath = <no value>

 c:\pftp\demo\arwen\pflist.ew:
    filename = <no value>

 c:\pftp\builtins\pdir.e:
    dinit = 0
    kernel32 = <no value>
    xFindFirstFile = <no value>
    xFindNextFile = <no value>
    xFindClose = <no value>
    xFileTimeToLocalFileTime = <no value>
    xFileTimeToSystemTime = <no value>
    xFindData = <no value>
    xLocalFileTime = <no value>
    xSystemTime = <no value>
    attrbits = <no value>
    attrchar = <no value>

 c:\pftp\demo\arwen\pftp.exw:
    LVI = <no value>
    LVLrect = <no value>
    LVRrect = <no value>

new topic     » goto parent     » topic index » view message » categorize

3. Re: pFTP Alpha released

On Fri, 17 Nov 2006 13:13:08 -0800, oyster <guest at RapidEuphoria.com>
wrote:

>p.err file says
>
>c:\pftp\demo\arwen\quick_allocations.ew:41 in function allocate_StringZ()
>length of an atom is not defined

Ah, looks like HKEY_CLASSES_ROOT/Folder/DefaultIcon might be a win98
or user-customisation thing.

I've replaced it with shell32 icon 3(=SI_FOLDER_CLOSED) and uploaded a
new version. I also finished Delete, added Rename, Create Directory,
Change Attributes, fixed up some gumf in loadDir/chd handling, and
added hidden files to the end of the remote list, as well as clearing
up a small confusion over chd.

Version 0.2 has been uploaded

Thanks for testing it,
Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: pFTP Alpha released

it runs on my win2k with anministrator login now. but it is still not right
1. what is local path and remote path? Do I need to fill these?
2. on the remote ftp, I have 2 dirs, ie 111 and 222. when I double-click 111, I
see this
filename size date
..            
.             19/11/2005
..            19/11/2005
I think there is 3 errors, 1st is the date, 2nd there are 2 parent dir(..), and
3rd, no matter which I double-click, I get
501 CWD failed. cannot accept relative path using dot donation
3. a suggestion is to add 'disconnect' to the app

new topic     » goto parent     » topic index » view message » categorize

5. Re: pFTP Alpha released

> pFTP is an open source windows GUI FTP client.
> It is also self-hosted, ie I used pFTP to upload pFTP ;)

I noticed on your screen shot you've got the 'Sleep' icon (monitor
w/moon) for JPEG files. Are you using ExtractAssociatedIcon?

http://msdn2.microsoft.com/en-us/library/ms648067.aspx

~Greg

new topic     » goto parent     » topic index » view message » categorize

6. Re: pFTP Alpha released

On Sun, 19 Nov 2006 11:01:00 -0500, Greg Haberek <ghaberek at gmail.com>
wrote:

>> pFTP is an open source windows GUI FTP client.
>> It is also self-hosted, ie I used pFTP to upload pFTP ;)
>
>I noticed on your screen shot you've got the 'Sleep' icon (monitor
>w/moon) for JPEG files. Are you using ExtractAssociatedIcon?
>
Yes I am, thanks. A while ago I manually associated that icon with
jpegs as I couldn't find anything better at the time. Far as I know,
all files appear just like they do in (my) Explorer, though I did find
an entry on the code project suggesting that you can override specific
icons in shell32.dll which I decided not to bother with.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

7. Re: pFTP Alpha released

oyster <guest at RapidEuphoria.com> wrote:

>1. what is local path and remote path? Do I need to fill these?
I've added "(optional)" to both now. As example, when I connect to my
homepage I usually want to upload from C:\temp\p, rather than whatever
the current directory is or C:\Program Files\pFTP. The default for the
remote directory is up to the ftp server, for instance at blueyonder
it is "/htdocs", on the microsoft site it is "/", whereas I might use
two site records, say M$chms and M$GDI+ which are otherwise identical
but start in different places.
>2. on the remote ftp, I have 2 dirs, ie 111 and 222. when I double-click 111,
>I see this
>filename size date
>..            
>.             19/11/2005
>..            19/11/2005
>I think there is 3 errors, 1st is the date, 2nd there are 2 parent dir(..),
>and 3rd, no matter which I double-click, I get 
>501 CWD failed. cannot accept relative path using dot donation
What is the message title (eg FTP error 12007 [5])?
What path is shown above the right hand listview?
After changing to 111, can you run Tools/Diag and send me the diag.txt
file it creates, thanks.
Also, let me know if you find any public sites with similar problems.
>3. a suggestion is to add 'disconnect' to the app
Suggestion added. I was going to say that technically this is not
needed, but when (if) I implement prompt for password on connect,
I can clear the temporary input.

Regards and thanks,
Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu