[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ftpapi - testing



Is directory jdorsett under your current directory? Or is it under
root, in which case it would be specified as /jdorsett?

On Tue, Apr 5, 2011 at 12:57 PM, Jim Dorsett <jdorsett@xxxxxxxxx> wrote:
>
>   I have just downloaded the api and am trying to figure it out. I have
>   been using FTP for many years with scripts. I am just not getting the
>   API yet. I am attempting to send a save file from one as400 to
>   another. Save library / savefile.
>
>
>   Here is code to which I am receiving `no such path or directory' error
>
>
>
>
>   c                   eval      file =
>   'jimdsavf'
>
>   c                   eval      files = 'jdorsett/' +
>   %trimr(FILE)
>
>   c
>
>   c
>
>   c
>
>    * put the FIPS utility (downloaded in TESTGET program)
>   on
>
>    *  the FTP
>   server.
>
>   c                   callp     ftp_binaryMode(sess:
>   *on)
>
>   c                   if        FTP_put(sess:'files':
>   'files')<0
>
>   c                   eval      Msg =
>   ftp_errorMsg(sess)
>
>   c                   dsply
>   Msg
>
>   c
>   endif
>
>
>   Jim Dorsett
>
>   Integration Manager
>
>   Healthcare Management Systems, Inc.
>
>   3102 West End Avenue
>   Suite 400
>
>   Nashville, Tennessee  37203
>
>   (615) 383-7300 Ext.2309
>
>   Fax (615) 386-6668
>
>   jdorsett@xxxxxxxxx
>
>   Check out our new Web site - [1]www.hmstn.com
>
>
>   HMS welcomes your feedback on our service.  If there are any areas we
>   can improve, please email our Quality Service Department at
>   [2]hmsquality@xxxxxxxxxx  If you receive STAR service, please email
>   [3]hmsstar@xxxxxxxxx and tell us about your experience.  We appreciate
>   your business.
>
>
>
>   CONFIDENTIALITY STATEMENT: The documents accompanying this
>   transmission may contain confidential health information that is
>   legally privileged. This information is intended only for the use of
>   the individual or entity named above. The authorized recipient of this
>   information is prohibited from disclosing this information to any
>   other party unless required to do so by law or regulation and is
>   required to destroy the information after its stated need has been
>   fulfilled. If you are not the intended recipient, you are hereby
>   notified that any disclosure, copying, distribution, or action taken
>   in reliance on the contents of these documents is strictly prohibited.
>   If you have received this information in error, please notify the
>   sender immediately and arrange for the return or destruction of these
>   documents.
>   ...
>
> References
>
>   1. http://www.hmstn.com/
>   2. mailto:hmsquality@xxxxxxxxx
>   3. mailto:hmsstar@xxxxxxxxx
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------