You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "noname713705 (Jira)" <ji...@apache.org> on 2026/10/21 23:16:00 UTC
[jira] [Comment Edited] (VFS-224) Cannot use FTP with the IFS on the OS/400 ( AS/400 / iSeries / systemI )
[ https://issues.apache.org/jira/browse/VFS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18129890#comment-18129890 ]
noname713705 edited comment on VFS-224 at 10/21/26 11:15 PM:
-------------------------------------------------------------
Are you sure this is still the case with vfs:2.10.0 ?
I was able to access ftp on IBM i / AS/400 not later than today.
The config section I use is:
{code:java}
// FTP
// this one is necessary so that ftp URL begin with "/" : "/QDTM/PDF/..."
FtpsFileSystemConfigBuilder.getInstance().setUserDirIsRoot(fileSystemOptions,Boolean.FALSE);
FtpFileSystemConfigBuilder.getInstance().setPassiveMode(fileSystemOptions, true);
FtpFileSystemConfigBuilder.getInstance().setDataTimeout(fileSystemOptions, Duration.ofSeconds(ftpDataTimeoutMillis));
VFS.setUriStyle(Boolean.FALSE);
{code}
was (Author: noname713705):
Are you sure this is still the case with vfs:2.10.0 ?
I was able to access ftp on IBM i / AS/400 not later than today.
The config section I use is:
{code:java}
// FTP
// this one is necessary so that ftp URL begin with "/" : "/QDTM/PDF/..."
FtpsFileSystemConfigBuilder.getInstance( ).setUserDirIsRoot(fileSystemOptions,Boolean.FALSE);
FtpFileSystemConfigBuilder.getInstance().setPassiveMode(fileSystemOptions, true);
FtpFileSystemConfigBuilder.getInstance().setDataTimeout(fileSystemOptions, Duration.ofSeconds(ftpDataTimeoutMillis));
VFS.setUriStyle(Boolean.FALSE);
{code}
> Cannot use FTP with the IFS on the OS/400 ( AS/400 / iSeries / systemI )
> ------------------------------------------------------------------------
>
> Key: VFS-224
> URL: https://issues.apache.org/jira/browse/VFS-224
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: Windows XP client, OS/400 FTP server
> Reporter: Sarah Gladstone
> Priority: Critical
>
> When using VFS to FTP files to/from the OS/400 FTP server, the system defaults to NAMEFMT =0, which means "system naming." This restricts uploads/downloads to the QSYS filesystem. I need to switch to NAMEFMT=1, which means IFS naming. This allows uploads/downloads to all file systems on the server, which includes the IFS. There are several ways to switch NAMEFMT. First is to "CD /some/dir/on/ifs" The second way is to issue the command: QUOTE SITE NAMEFMT 1
> Currently, I cannot upload/download to the IFS on the OS/400, making the FTP part of VFS unusable.
> Thanks,
> Sarah
--
This message was sent by Atlassian Jira
(v8.20.10#820010)