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


  • Subject: Re: FTP Check For File Existance
  • From: keith mcintosh <keith_eh@xxxxxxxx>
  • Date: Fri, 28 Apr 2000 15:06:50 -0400 (EDT)


You could set SUNIQUE.


--- simon.thompson@distserv.boc.com wrote:
> 
> If I create a script on the AS400 to ftp a file to a
> NT server as follows 
> :
> 
>  EXIT EXIT
>  CLOSE
>  open xxx.xxx.xxx.xxx
>  user xxxxxxxxxx xxxxxxxxxxx
>  CD C:\incoming
>  PUT QTEMP/xxxxxxxxxxx etc.
>  QUIT
> 
> Before sending a file of the same name, is it
> possible to run a script to 
> check that the file does not already exist i.e. get
> a return code and the 
> GET the file?
> 
> Regards To All
> 
> Simon Thompson
> Senior A/P
> BOC Distribution Services
> UK 
> 
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to
> RPG400-L@midrange.com.
> | To subscribe to this list send email to
> RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list
> owner/operator: david@midrange.com
> +---

_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.