| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Problems with List and Listing |
| sathya76 From: Lubbock, TX USA Posts: 13 Member Since: 06/24/02 |
posted July 21, 2004 12:08 PM I am calling the list method to list the contents of the directory. If my userid is A5TFG. I create the files as A5TRG1, A5TRG2 and so on, on the FTP Server..Now when I list the contents with Ftp1.Listing.text()they are working fine. But when I go beyond 10, that is have something line A5TRG10, A5TRG11 etc, the listing does not show those spooled jobs that are more than 9. I am not sure whether it is a problem of dartFTP. I am new to this area. Please throw some light. Thanks. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 21, 2004 5:49 PM Hi, Are other Ftp clients (for example, command line Ftp) able to see the files? Does the ListView sample show the files? Thanks, -ken |
| sathya76 From: Lubbock, TX USA Posts: 13 Member Since: 06/24/02 |
posted July 21, 2004 8:09 PM Thanks Drake. It is actually not the files as such that the List command picks up. The VB program uses the DartFtp to login to FTP Server, puts a JCL File and gets a JOBID assigned by mainframe. Now the JOB waits for its turn to run and produce a report although FTP server tells the status in between. When I submit a job and go through Hummingbird Client to see these Jobs I can see all these listed as JOBNAME JOBID STATUS --------------------------- A4BGT1 JOB09873 OUTPUT A4BGT974 JOB03562 ACTIVE A4BGT5 JOB09321 ACTIVE A4BGT31 JOB09654 OUTPUT But when I do a DartFtp1.List() and do a DartFtp1.Listing.Text() I am seeing only these A4BGT1 JOB09873 OUTPUT A4BGT5 JOB09321 ACTIVE The A4BGT31 and A4BGT974 is not found in the listing. I am wondering is this something that has to do with the datastructures ie, with 6 character limitation. Also, please note that A4BGT is the user and he can see all these jobs listed in his client. Thanks for your time. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 22, 2004 10:07 AM Hi, I'm not sure what to say, other than the Listing.Text reflects exactly what the server sends in response to the LIST. Perhaps the LIST is being sent before the Ftp server is capable of sending the "complete" listing. What about other Ftp clients? I would be very surprised if they showed something different under the same scenarios. -ken |
| sathya76 From: Lubbock, TX USA Posts: 13 Member Since: 06/24/02 |
posted July 22, 2004 11:30 AM Hi Drake, We use MVS and employ DartFTP to pick up status of JCL Jobs running under a particular USERID. All jobs running under a UserID will have UserID+<1-3 character variable> as the JobName. I am able to see all these jobs in the other FTP clients. Even DartFTP is okay as long as we have UserID+<a single character>. The single character can be A-Z and 0-9. So we have 36 unique combinations. This is sufficient for current setup. So we are sticking with this. Thanks |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|