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
not valid remote file error from FTP Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: not valid remote file error from FTP Stage
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
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
![Question :?:](./images/smilies/icon_question.gif)
regards-
johna
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?
not valid remote file error from FTP Stage
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
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
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
Please mark this thread as Resolved.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.