Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ODISFTPPUT : Invalid absolute URI

1975290Jun 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 "sftp://<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 "sftp://<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!

This post has been answered by 1975290 on Jun 2 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2014
Added on Jun 1 2014
8 comments
4,054 views