2015 xPress++ Dev Con

This forum is for eXpress++ general support.
Message
Author
Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: 2015 xPress++ Dev Con

#11 Post by Cliff Wiernik »

I have been having trouble accessing the ftp site via a browser or ftp client. Via the ftp client it states port command failed, cannot get directory. Via browser, connection is reset.

Even the ftp command at the command prompt can login but cannot get the directory listing.

User avatar
rdonnay
Site Admin
Posts: 4734
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: 2015 xPress++ Dev Con

#12 Post by rdonnay »

I have been having trouble accessing the ftp site via a browser or ftp client.
Cliff -

I often get reports of inability to connect to my FTP server. This is why I always send out eXpress++ download instructions with an HTTP link instead of an FTP link.

Here is a chance for you to see how I solved this problem using a small CXP program (below).

I simply wrote the program and installed it in the \wamp\www\devcon folder.
I named it DirList.cxp.

http://bb.donnay-software.com/devcon/dirlist.cxp

Here is the code:

<%
aDir := Directory(::physicalPath)
? '<pre>'
FOR i := 1 to Len(aDir)

? '<a href="' + aDir[i,1] + '">' + aDir[i,1] + '</a>'

? Trans(aDir[i,2],'9999999'), ' ', ;
aDir[i,3], ' ', ;
aDir[i,4] + '<br>'

NEXT
? '</pre>'
%>

This didn't require recompiling anything, just copying a CXP file to my server.
The eXpress train is coming - and it has more cars.

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: 2015 xPress++ Dev Con

#13 Post by Cliff Wiernik »

Roger, did you post the sample program, before and after, we used to show how to change a procedural/function based program to a class based program. Also, did any of the sessions recordings work?

User avatar
rdonnay
Site Admin
Posts: 4734
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: 2015 xPress++ Dev Con

#14 Post by rdonnay »

Roger, did you post the sample program, before and after, we used to show how to change a procedural/function based program to a class based program. Also, did any of the sessions recordings work?
I have the record but it's 787 mb, so I need to trim some of it.
I'm still in California. After I get home and rest up, I'll work on catching up with stuff from the devcon.
I'll give you the before and after for the PATHUTIL program too.
The eXpress train is coming - and it has more cars.

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: 2015 xPress++ Dev Con

#15 Post by Cliff Wiernik »

Sounds good. No rush. Hope your time out in CA is going well.

Cliff

Post Reply