|
Perhaps you could use the FTP ls command to get a directory listing, then search that list to see if the file in question exists. Depending on the total number of files possible on the Windows server this might be problematic. There may be a way to do 'ls filename.ext' as well ... then see if the results show the file or not. HTH, Adam midrange-l-bounces@xxxxxxxxxxxx wrote on 07/09/2006 09:11:09 AM:
I am creating an association between some iSeries data and files that reside on Windows servers. When the file name is entered, I'd like to verify the file exists, but I'm not sure how. F.T.P. won't work since it just returns the "226 - Transfer Complete" message whether the file exists or not. I suppose I could write a little Visual Basic program that would update a file on the iSeries with a code. My instincts tell me there must be a better way though. Any assistance will be greatly appreciated. Donald R. Fisher, III Project Manager RoomStore, Inc. (804) 784-7600 ext. 2124 dfisher@xxxxxxxxxxxxx -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. Have a nice day. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
As an Amazon Associate we earn from qualifying purchases.
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.