No kidding... all it would have to do is send the SITE NAMEFMT and SITE LISTFMT commands to the FTP server to get it into the mode it needs to be in. Not exactly difficult to code.

Though, I wonder if this is Zend's part of the code, or if it's an Eclipse issue.

But SFTP is better than FTP in other ways as well, so I guess it doesn't matter much to me, I'll keep using sftp.


Bryan Dietz wrote:
Yuck. Doing this could "break" other FTP connections. That is why I use the ssh connection.

It's too bad that the third version of Zend studio cannot figure out how to work with the IBM i default ftp server setup.

Would it bee so hard to have the ability for the zend studio ftp client send an "initialize command" and then a "namefmt 1" after logon?

Bryan


Mike Pavlak said the following on 7/1/2009 9:24 AM:
Let me see if I can take a swing at this one:

Method 2: Use the FTP construct of the remote server configuration. I
outline the steps involved in doing this in a free webinar on Zend.com
called Getting Started with PHP on IBM i.
http://www.zend.com/en/resources/webinars/i5-os

To use the FTP process here are the steps:
1) Issue the host command to change the FTP default CHGFTPA
NAMEFMT(*PATH) CURDIR(*HOMEDIR) LISTFMT(*UNIX)
Note: Please research this command to ensure you do not disrupt batch
based FTP processes in your shop!!!

2) Bounce the FTP server using ENDTCPSVR SERVER(*FTP) & STRTCPSVR
SERVER(*FTP)
Note: It is normally a good idea to check to see if the FTP servers have
ended before restarting them, they live in the QSYSWRK subsystem under a
job named QTFTPnnnnn



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.