×
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.
Good idea. You're probably on the right track with QNTC being the way to use the filesystem classes.
I found my remote server in the QNTC file system. I tried using "/QNTC/MYSERVER/MYDIR/filename.txt". But it still didn't work.
It's also kind of frustrating that I can get FTP to work from the debugger on my laptop, but the same scripts won't work in the Zend Core in i5.
Thanks,
Kelly
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Thorbjoern Ravn Andersen
Sent: Saturday, July 11, 2009 12:45 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] PHP - Moving files between iSeries and other servers
Kelly Cookson skrev:
How do I use FTP or the filesystem classes to move files back and forth
between the iSeries and remote servers\directories?
When I try this code:
$toFile = "\\\\MyServer\\MyDirectory\\php_filesystem_test.txt";
The snippet uses Windows-syntax -- \\myserver\mydirectory ... - to reach
remote servers which only works on Windows servers.
You need to find the IFS-name which does the same. A guess would be
through the /QNTC mount point. It appears to be described here, but I
don't have any personal experience with it,
http://www.itjungle.com/fhg/fhg031704-story04.html
As an Amazon Associate we earn from qualifying purchases.