相关文章推荐

ODISFTPPUT : Invalid absolute URI

1975290 Jun 1 2014 — edited Jun 2 2014

Hi all,

I've been trying to use OdiSftpPut to send a file over to a remote server but I'm always getting the Invalid absolute URI error. I've checked the paths and it is the correct one so I'm not really sure what the problem could be.

Here is the OdiSftpPut command:

OdiSftpPut "-HOST=<user>:<password>@192.168.205.180" "-USER=<user>" "-PASSWORD=e9yH4FooTKN0RGie8c.Ouidcs" "-LOCAL_DIR=C:\Users\markngyk\Documents" "-LOCAL_FILE=test.docx" "-REMOTE_DIR=/u02/app/oracle/middleware/domains/Domain1/tmp" "-COMPRESSION=NO" "-STRICT_HOSTKEY_CHECKING=NO"

And here is the error I'm receiving:

Caused By: org.apache.commons.vfs2.FileSystemException: Invalid absolute URI "s ftp:// <user>:***@192.168.205.180/u02/app/oracle/middleware/domains/Domain1/tmp".

at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:61)

at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:693)

...

Caused by: org.apache.commons.vfs2.FileSystemException: Expecting / to follow the hostname in URI "s ftp:// <user>:***@192.168.205.180/u02/app/oracle/middleware/domains/Domain1/tmp".

at org.apache.commons.vfs2.provider.HostFileNameParser.extractToPath(HostFileNameParser.java:155)

...

The system that I'm trying to send the file to is running on linux, I'm not sure if that affects anything. Any help would be greatly appreciated. Thanks!

Jump to Answer
 
推荐文章