Page 1 of 1

not valid remote file error from FTP Stage

Posted: Tue Jun 12, 2007 2:37 pm
by UPS
I am attempting to pull a file from HP Unix Box to DS Linux Box. Has anyone come across this error while using FTP Enterprise Stage.

FTP_Enterprise_X: uri : ftp://123.4.567.89/mypath/file.dat is not valid remote file

I can sign into linux and ftp IP using get the file with no issue.

I have scanned the forums and have had no luck.

Any help would be aprreciated,
Thanks -
johna

Posted: Tue Jun 12, 2007 3:34 pm
by ray.wurlod
Lose the ftp:// prefix.

Re: not valid remote file error from FTP Stage

Posted: Wed Jun 13, 2007 11:22 am
by UPS
ray.wurlod

I did as you suggested and got the following:
FTP_Enterprise_X: uri is having invalid syntax. uri : 123.4.56.789/mypath/file.dat

Documentation (FTP Enterprise Stage User Guide) seems to indicate that the ftp:// prefix needs to be there, unless I am reading it incorrectly :?: .

regards-
johna

Posted: Wed Jun 13, 2007 3:22 pm
by ArndW
You need to put the ftp:// back in to complete the uri for the PX ftp stage. I had issues in the past as well, and recall that I got it working by testing it out by FTP'ing a local file on the same machine. Could you try that, copying the file from the remote location to your local server and testing the PX ftp stage by accessing that local copy?

Posted: Fri Jun 15, 2007 5:28 pm
by UPS
ArndW,
Will give it a try. I will let you know.

Thanks -
johna

not valid remote file error from FTP Stage

Posted: Thu Jun 21, 2007 4:24 pm
by UPS
I finally got the answer.
What I did not realize that in UNIX you need to navigate back to root in order to locate a different directory other than the home it lands.

ftp://hostname/../../mypath/file.dat

Posted: Thu Jun 21, 2007 6:52 pm
by ray.wurlod
That's true in DOS as well - at least back to ftproot. You gave us no inkling in your original post that the file you wanted was not in a subdirectory of the ftproot directory.

Please mark this thread as Resolved.