You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Joseph, Ronald" <Ro...@Dresdner-Bank.com> on 2006/04/03 10:01:44 UTC
RE: [VFS] Problems with FTP
Hello,
Tanks for your Help.
The WIN-FTP-Server lock's for me as a UNIX-Style.
Here is the Output from the FtpCeck-Tool:
[WIN-FTP-Server]
System: Windows_NT version 5.0
#0: -rw-rw-rw- 1 owner group 21922638 Apr 2 18:46 AD_export.txt
#0: -rw-rw-rw- 1 owner group 21922638 Apr 2 18:46 AD_export.txt
name:AD_export.txt type:0
#1: -rw-rw-rw- 1 owner group 29605 Apr 2 19:53
adbag_devis.txt
#1: -rw-rw-rw- 1 owner group 29605 Apr 2 19:53
adbag_devis.txt
name:adbag_devis.txt type:0
[--- snipp ---]
[UNIX-FTP-Server]
#0: -rw------- 1 f982667 DirX 895 Aug 19 2004 --help
#0: -rw------- 1 f982667 DirX 895 Aug 19 2004 --help
name:--help type:0
#1: -rw-r--r-- 1 f982667 DirX 756 Aug 19 2004 --help.pub
#1: -rw-r--r-- 1 f982667 DirX 756 Aug 19 2004 --help.pub
name:--help.pub type:0
#2: -rw-r--r-- 1 f982667 DirX 5 Sep 1 2004 -b.lock
#2: -rw-r--r-- 1 f982667 DirX 5 Sep 1 2004 -b.lock
name:-b.lock type:0
#3: drwxrwxr-x 9 f982667 DirX 3584 Mar 31 11:19 .
#3: drwxrwxr-x 9 f982667 DirX 3584 Mar 31 11:19 .
name:. type:1
#4: drwxr-xr-x 25 p019290 DirX 512 Dec 28 10:27 ..
#4: drwxr-xr-x 25 p019290 DirX 512 Dec 28 10:27 ..
name:.. type:1
[--- snipp ---]
The following Output is from a FTP-Session with the WIN-FTP-Server:
ftp> pwd
257 "/ceftpe/CE2IncomingData" is current directory.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
-rw-rw-rw- 1 owner group 21922638 Apr 2 18:46 AD_export.txt
-rw-rw-rw- 1 owner group 29605 Apr 2 19:53 adbag_devis.txt
[--- snipp ---]
For me, it's lock like that the WIN-FTP-Server don't shows the dot-Dirs (.
and ..), like the Unix-FTP-Server.
Is this a Problem? May be a reason for this Exception:
org.apache.commons.vfs.FileSystemException: Could not list the contents of
"ftp://UNIX_HOST/PATH/TO/DIR" because it is not a folder.
at
org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileO
bject.java:519) ^^^^^^^^^^^^^^^^
at test.VFSTest2.run(VFSTest2.java:44)
at test.VFSTest2.main(VFSTest2.java:26)
Can enyone help me? This is a big Problem for me and the project (may be a
show-stopper).
Greeting from Germany
Ronald
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [VFS] Problems with FTP
Posted by Mario Ivankovits <ma...@ops.co.at>.
Hi!
> For me, it's lock like that the WIN-FTP-Server don't shows the dot-Dirs (.
> and ..), like the Unix-FTP-Server.
> Is this a Problem?
No - this is not a problem.
Maybe you do not have "list" permission on the parent folder?
As far as I can remember VFS requires it to get its informations (last
mod date, size, ....).
Ciao,
Mario
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org