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

Re: [Ftpapi] upload a file (pdf, xml, etc...) from ifs via httpapi...



Is there a method to “attach” a ifs file using httpapi?

 

 

 

Gerald Magnuson | Senior System I Admin


The Knapheide Manufacturing Company
1848 Westphalia Strasse // P.O. Box 7140 // Quincy, IL // 62305-7140
P: 217-592-5291 //   F: 217-592-5046 // www.knapheide.com

    

 

From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Frank Broome
Sent: Monday, February 27, 2017 12:03 PM
To: FTPAPI/HTTPAPI mailing list <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Ftpapi] upload a file (pdf, xml, etc...) from ifs via httpapi...

 

To my knowledge an IFS file is encoded based on the code page of the folder where it is created/stored.

I don’t think the api will be able to change that, as far as I understand.

 

/Frank

 

From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Gerald Magnuson
Sent: Monday, February 27, 2017 9:47 AM
To: HTTPAPI and FTPAPI Projects (ftpapi@xxxxxxxxxxxxxxxxxxxxxx)
Subject: [Ftpapi] upload a file (pdf, xml, etc...) from ifs via httpapi...

 

We currently have a method to pass “reports” to a web app…

Currently we (from the ibmi) send an email, with the report (be it a pdf, or xml, text, spreadsheet)

The old process would listen for an email, and import the attachment into the report vault.

 

I am now asked to change that process to send a web request, attaching the ifs file…

I am told “you should be able to encode the attachment, like you do on sending a email” to the web call.

 

Does Httpapi have this?

 

 

 

 

Gerald Magnuson | Senior System I Admin


The Knapheide Manufacturing Company
1848 Westphalia Strasse // P.O. Box 7140 // Quincy, IL // 62305-7140
P: 217-592-5291 //   F: 217-592-5046 // www.knapheide.com

    

 

 

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here.

_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi