× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



FTP is a tool for accessing files on a remote machine over a network. Don't be surprised if it doesn't have tools for accessing files on the local computer! You hardly need to communicate over a network to access files on the local computer.

Are you trying to get a list of files programatically? Or interactively?

For interactive, use WRKLNK or Qshell. With WRKLNK, you have the same "work with panel" that you have for other IBM commands like WRKACTJOB, WRKSPLF, etc.

For programatic, you can either use QShell to write the data to a file (which is close to what you're doing now with FTP) or you can use the IFS APIs (or various utilities based on them) to manipulate the IFS in your HLL. There are tons of free IFS related utilities around on mailing lists, forums, magazines, newsletters, etc.

If you just want to delete a bunch of files you can use the RMVLNK CL command.


Michael Rosinger wrote:
List,

I have an FTP script where the iSeries is the client and a WinDoze system is the server. The script will send any .pdf files in a particular IFS folder to a specific folder on the WinDoze machine. It works but...

1) how do I display the contents of the IFS folder? I was thinking "ldir" (like lpwd and lcd) but no such thing.

2) how do I delete files in the IFS folder? (I wanted to clean them up after the mput)

TIA



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.