I am trying to FTP more than one file using FTP Stage.
It gives the following error:
-------------------------------
FTPJOb..FTP_Plug_in_2: 550 anma022r*.txt: The filename, directory name, or volume label syntax is incorrect.
FTPJOb..FTP_Plug_in_2: Error while trying to open connection for receiving data from the FTP server, FTP command RETR failed
I have specified the filename as anma022r*.txt, which i believe a valid representation.
I would like to know why FTP Stage is erroring out.
Any help will be appreciated.
TIA.
Trying to ftp more than one file using FTP Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Or run a pre-FTP command such as and use that file as the one to stream into your job.
Code: Select all
cat anma022r*.txt > anma002r.all
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.
Hi,
well as I remember command line ftp is also faster.
so I would go with command line ftp with mget <file pattern>.
if you don't want any ftp scripts hanging around you can allways build them on the fly and delete them when your done.
IHTH,
well as I remember command line ftp is also faster.
so I would go with command line ftp with mget <file pattern>.
if you don't want any ftp scripts hanging around you can allways build them on the fly and delete them when your done.
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Re: Trying to ftp more than one file using FTP Stage
DS should be used to make things easy and streamlined that you cannot otherwise. If using DS will make it more complex, try not to use it, unless your boss insists.
I would go for OS level ftp, as its reliable, efficient and easy to use and change. I've not used FTPStage myself though, so I'm sorry I'll not be able to answer your direct question.
Just my humble 2 cents
- Sachin
I would go for OS level ftp, as its reliable, efficient and easy to use and change. I've not used FTPStage myself though, so I'm sorry I'll not be able to answer your direct question.
Just my humble 2 cents
- Sachin
userds wrote:I am trying to FTP more than one file using FTP Stage.
It gives the following error:
-------------------------------
FTPJOb..FTP_Plug_in_2: 550 anma022r*.txt: The filename, directory name, or volume label syntax is incorrect.
FTPJOb..FTP_Plug_in_2: Error while trying to open connection for receiving data from the FTP server, FTP command RETR failed
I have specified the filename as anma022r*.txt, which i believe a valid representation.
I would like to know why FTP Stage is erroring out.
Any help will be appreciated.
TIA.