Login  
Search All Forums
Dart Home | PowerTCP SSL for ActiveX | Custom Development Reply | PowerTCP SSL for ActiveX Topics | Forums   
AuthorForum: PowerTCP SSL for ActiveX
Topic: Recursion on I-Series (AS/400)
BobWaitz
bobw@mhccom.com

From: Burnsville, MN USA
Posts: 12
Member Since: 01/09/06
posted October 18, 2006 12:36 PM


SecureFtp1.list "-R"


I have a VB program that gets files from an FTP server using a "-R" parameter on the list method. This has worked for a long time with a variety of UNIX/Linux platforms. It does not seem to work on an IBM I-Series (AS/400). When I process the list of items returned using:

For Each leCurrent In SecureFtp1.Listing
  .
  .
  .
next

I only get the first level of directories, which is what I would expect if I used the "-r" parameter. I have tried -r, -R, -lr, and -LR and I get the same results each time -- a listing of the first level of directories underneath the one I am searching.

Is there a way, short of writing my own recursion routine, to get this to work as it does on UNIX/Linux or is this a function of how the FTP server implements recursion?

I am using the latest build of the product.

Thanks,

Bob
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted October 19, 2006 12:37 PM

Hi Bob,

Looks as if the server does not support -r.
Can you get this working from any 3rd party tool?
If yes, its trace will show us what it is doing differently.

You may even check with the ftp server vendor, to see the supported commands.

-Raj
BobWaitz
bobw@mhccom.com

From: Burnsville, MN USA
Posts: 12
Member Since: 01/09/06
posted October 20, 2006 2:36 PM

Yep, turns out the ftp server doesn't support recursion. We solved it by getting the client to write a file mover program that puts all the files in a single folder for our ftp program to pick up.

Thanks for the response,

Bob
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted October 20, 2006 5:05 PM

Thanks for updating!
-Raj
Reply | PowerTCP SSL for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX