[
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}
{color:#000000} {color}{color:#3f7f5f}// FTP{color}
{color:#000000} {color}{color:#3f7f5f}// this one is necessary so that
{color}{color:#3f7f5f}ftp{color}{color:#3f7f5f} URL begin with "/" :
"/QDTM/PDF/..."{color}
{color:#000000}
{color}{color:#000000}FtpsFileSystemConfigBuilder{color}{color:#000000}.{color}{color:#000000}getInstance{color}{color:#000000}(
).setUserDirIsRoot({color}{color:#6a3e3e}fileSystemOptions{color}{color:#000000},Boolean.{color}{color:#0000c0}FALSE{color}{color:#000000});{color}
{color:#000000}
FtpFileSystemConfigBuilder.{color}{color:#000000}getInstance{color}{color:#000000}().setPassiveMode({color}{color:#6a3e3e}fileSystemOptions{color}{color:#000000},
{color}{color:#7f0055}true{color}{color:#000000});{color}
{color:#000000}
FtpFileSystemConfigBuilder.{color}{color:#000000}getInstance{color}{color:#000000}().setDataTimeout({color}{color:#6a3e3e}fileSystemOptions{color}{color:#000000},
Duration.{color}{color:#000000}ofSeconds{color}{color:#000000}({color}{color:#0000c0}ftpDataTimeoutMillis{color}{color:#000000}));{color}
{color:#000000}
VFS.{color}{color:#000000}setUriStyle{color}{color:#000000}(Boolean.{color}{color:#0000c0}FALSE{color}{color:#000000});{color}
{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)