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.
2015 xPress++ Dev Con
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: 2015 xPress++ Dev Con
Cliff -I have been having trouble accessing the ftp site via a browser or ftp client.
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.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: 2015 xPress++ Dev Con
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?
Re: 2015 xPress++ Dev Con
I have the record but it's 787 mb, so I need to trim some of it.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'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.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: 2015 xPress++ Dev Con
Sounds good. No rush. Hope your time out in CA is going well.
Cliff
Cliff