× 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.



Dear all

I have developed a Java Class on iSeries (AS400) which emails file(s) to
recipient(s) an the main() method is used to specify which file to attach. I
can specify any file I like in VisualAge with the usual DOS type paths
C:\dir\subdir\file.xls but on OS/400 it only works when the file is in the
same directory as the Class or in a subdirectory.

I specify the file as follows java -classpath x:y:z email.FileEmailer
recipient@acme.com /dir/subdir/file.xls

I am pretty sure the uppercase/lowercase is correct and anyway it picks up
the file if the file is in a subdirectory of the current directory

Anyone got any ideas?

Regards,
Tim Fenton
01491 417349



The information in this e-mail and any attachments
(the 'e-mail') is confidential and intended solely for
the addressee(s) named above.  This e-mail may be
subject to legal professional or other privilege or legal
rules.  The unauthorised use, disclosure or copying
of the e-mail is prohibited.  If you are not the intended
recipient, or a person responsible for delivering the
e-mail to the intended recipient you must not disclose,
copy, distribute or retain this e-mail or any part of it.
This e-mail does not, directly or indirectly, represent
financial advice.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.