|
Home > Archive > BizTalk Server General > February 2006 > FTP receive don't work from unix !!!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
FTP receive don't work from unix !!!
|
|
|
| Hi,
I'm trying to get files from unix with ftp-adapter, but it doesn't work.
It seems that the ftp-adapter doesn't find the files from folder, even they
are there.
I have tied to restart Biztalk Host but it did not help.
The logs shows that in unix environment the LIST command dont find anything.
Can anyone help me with this problem?
Here is the adapter log :
< 220 zebrano FTP server (Version 1.1.214.4(PHNE_23950) Tue May 22 05:49:01
GMT 2001) ready.
> USER xxxxxxx
< 331 Password required for xxxxxx.
> PASS xxxx
< 230 User xxxxxx logged in. Access restrictions apply.
> PWD
< 257 "/" is current directory.
> SYST
< 215 UNIX Type: L8
> PWD
< 257 "/" is current directory.
> CWD testi/proulos
< 250 CWD command successful.
> PWD
< 257 "/testi/proulos" is current directory.
> TYPE A
< 200 Type set to A.
> PORT ###,###,###,###,15,212
< 200 PORT command successful.
> LIST *.xml
< 150 Opening ASCII mode data connection for /usr/bin/ls.
< 226 Transfer complete.
> QUIT
< 221 Goodbye.
Here is another log from Windows environment that works :
< 220 Microsoft FTP Service
> USER xxxxxxx
< 331 Password required for xxxxxxx.
> PASS xxxx
< 230 User xxxxxx logged in.
> PWD
< 257 "/" is current directory.
> SYST
< 215 Windows_NT
> PWD
< 257 "/" is current directory.
> TYPE A
< 200 Type set to A.
> PORT ###,###,###,###,16,235
< 200 PORT command successful.
> LIST *.xml
< 150 Opening ASCII mode data connection for /bin/ls.
< 09-21-05 12:47PM 139122 Ftp_InterfaceService_2.xml
< 226 Transfer complete.
> TYPE A
< 200 Type set to A.
> PORT ###,###,###,###,16,239
< 200 PORT command successful.
> RETR Ftp_InterfaceService_2.xml
< 150 Opening ASCII mode data connection for
Ftp_InterfaceService_2.xml(139122 bytes).
< 226 Transfer complete.
> DELE Ftp_InterfaceService_2.xml
< 250 DELE command successful.
> QUIT
< 221
Best regards
Jari
| |
| McGeeky 2006-01-16, 7:49 am |
| What flavour of Unix is it?
--
McGeeky
http://mcgeeky.blogspot.com
"Jari" <Jari@discussions.microsoft.com> wrote in message
news:D9156074-6C57-4AB5-BB7D-CB59379DC945@microsoft.com...
> Hi,
> I'm trying to get files from unix with ftp-adapter, but it doesn't work.
> It seems that the ftp-adapter doesn't find the files from folder, even
> they
> are there.
> I have tied to restart Biztalk Host but it did not help.
> The logs shows that in unix environment the LIST command dont find
> anything.
>
> Can anyone help me with this problem?
>
> Here is the adapter log :
>
> < 220 zebrano FTP server (Version 1.1.214.4(PHNE_23950) Tue May 22
> 05:49:01
> GMT 2001) ready.
> < 331 Password required for xxxxxx.
> < 230 User xxxxxx logged in. Access restrictions apply.
> < 257 "/" is current directory.
> < 215 UNIX Type: L8
> < 257 "/" is current directory.
> < 250 CWD command successful.
> < 257 "/testi/proulos" is current directory.
> < 200 Type set to A.
> < 200 PORT command successful.
> < 150 Opening ASCII mode data connection for /usr/bin/ls.
> < 226 Transfer complete.
> < 221 Goodbye.
>
>
> Here is another log from Windows environment that works :
>
> < 220 Microsoft FTP Service
> < 331 Password required for xxxxxxx.
> < 230 User xxxxxx logged in.
> < 257 "/" is current directory.
> < 215 Windows_NT
> < 257 "/" is current directory.
> < 200 Type set to A.
> < 200 PORT command successful.
> < 150 Opening ASCII mode data connection for /bin/ls.
> < 09-21-05 12:47PM 139122 Ftp_InterfaceService_2.xml
> < 226 Transfer complete.
> < 200 Type set to A.
> < 200 PORT command successful.
> < 150 Opening ASCII mode data connection for
> Ftp_InterfaceService_2.xml(139122 bytes).
> < 226 Transfer complete.
> < 250 DELE command successful.
> < 221
>
>
> Best regards
>
> Jari
| |
|
| Hi McGeeky,
What do you mean by "flawour".
I am not familiar with unix platforms.
In this case it is customers unix.
In ftplog file are these informations :
"zebrano FTP server (Version 1.1.214.4(PHNE_23950)" and
"UNIX Type: L8"
Are they any help for you?
Jari
"McGeeky" wrote:
> What flavour of Unix is it?
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "Jari" <Jari@discussions.microsoft.com> wrote in message
> news:D9156074-6C57-4AB5-BB7D-CB59379DC945@microsoft.com...
>
>
>
| |
| McGeeky 2006-01-16, 5:54 pm |
| Only that I know some have FTP servers that don't seem to be fully FTP
compliant. For example, although not a flavour of Unix, we have had major
problems connecting to an FTP server running on OpenVMS. It returns a file
listing in an unusual format. It is not even compliant with a standard FTP
client such as Bulletproof FTP. To resolve this we are having to upgrade the
FTP server version on OpenVMS. We are for
Have you checked yet whether you can access their system with an FTP client
such as Bulletproof or Reflection?
If not then you should inform your customer that their FTP server is not
compliant and suggest to them to use an alternative.
I have not heard of Zebrano FTP server.
--
McGeeky
http://mcgeeky.blogspot.com
"Jari" <Jari@discussions.microsoft.com> wrote in message
news:8E0BFBB6-17BD-4787-93B4-51953FDF2206@microsoft.com...[vbcol=seagreen]
> Hi McGeeky,
>
> What do you mean by "flawour".
> I am not familiar with unix platforms.
> In this case it is customers unix.
>
> In ftplog file are these informations :
>
> "zebrano FTP server (Version 1.1.214.4(PHNE_23950)" and
> "UNIX Type: L8"
>
> Are they any help for you?
>
> Jari
>
>
> "McGeeky" wrote:
>
| |
|
| Thanks for reply.
I have tested the ftp download with Windows operation systems ftp client
from Biztalk Server machine.
And it's working fine.
I can pick up files to pc with that client and same username and password.
So It can't be any access right problem.
Any other Ideas?
Jari
"McGeeky" wrote:
> Only that I know some have FTP servers that don't seem to be fully FTP
> compliant. For example, although not a flavour of Unix, we have had major
> problems connecting to an FTP server running on OpenVMS. It returns a file
> listing in an unusual format. It is not even compliant with a standard FTP
> client such as Bulletproof FTP. To resolve this we are having to upgrade the
> FTP server version on OpenVMS. We are for
>
> Have you checked yet whether you can access their system with an FTP client
> such as Bulletproof or Reflection?
>
> If not then you should inform your customer that their FTP server is not
> compliant and suggest to them to use an alternative.
>
> I have not heard of Zebrano FTP server.
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "Jari" <Jari@discussions.microsoft.com> wrote in message
> news:8E0BFBB6-17BD-4787-93B4-51953FDF2206@microsoft.com...
>
>
>
| |
| McGeeky 2006-01-16, 5:54 pm |
| What is "Windows operation systems ftp client"? Are you referring to the one
in internet explorer or the command line version?
My only other suggestion is to try Bulletproof FTP just to be sure. You can
download a free 30 day trial.
One other thing to double check is that you have the FTP adapter settings
configured correctly. Perhaps its a simple typo?
--
McGeeky
http://mcgeeky.blogspot.com
"Jari" <Jari@discussions.microsoft.com> wrote in message
news:1161963C-0AFC-4232-AE43-D6B464AE31CE@microsoft.com...[vbcol=seagreen]
> Thanks for reply.
>
> I have tested the ftp download with Windows operation systems ftp client
> from Biztalk Server machine.
> And it's working fine.
> I can pick up files to pc with that client and same username and password.
>
> So It can't be any access right problem.
>
> Any other Ideas?
>
> Jari
>
>
>
> "McGeeky" wrote:
>
| |
|
| HI,
yes I ment command line version.
I'm quit sure that there is no typo, because I've got proper ftplog where
all information is correct.
I try to download some evaluation version of ftp client and test with it.
Let's see what happens.
Thanks for replies.
Jari
"McGeeky" wrote:
> What is "Windows operation systems ftp client"? Are you referring to the one
> in internet explorer or the command line version?
>
> My only other suggestion is to try Bulletproof FTP just to be sure. You can
> download a free 30 day trial.
>
> One other thing to double check is that you have the FTP adapter settings
> configured correctly. Perhaps its a simple typo?
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "Jari" <Jari@discussions.microsoft.com> wrote in message
> news:1161963C-0AFC-4232-AE43-D6B464AE31CE@microsoft.com...
>
>
>
| |
| Craig Beuker 2006-01-16, 5:54 pm |
| "=?Utf-8?B?SmFyaQ==?=" <Jari@discussions.microsoft.com> wrote in
news:D9156074-6C57-4AB5-BB7D-CB59379DC945@microsoft.com:
> Hi,
> I'm trying to get files from unix with ftp-adapter, but it doesn't
> work. It seems that the ftp-adapter doesn't find the files from
> folder, even they are there.
> I have tied to restart Biztalk Host but it did not help.
> The logs shows that in unix environment the LIST command dont find
> anything.
>
> Can anyone help me with this problem?
>
> Here is the adapter log :
>
<Misc FTP logs deleted>
>
> Best regards
>
> Jari
What are the permissions on the file/folder on the Unix Server? ie: Does
the user you are connecting to the FTP Server as have the needed
permissions to list files in the folder, read files from that folder and
delete files from that folder. If the user you are connecting to the FTP
Server as doesn't have the right permissions, this could lead to you not
being able to see the file.
Try this from your windows box:
1) go to the command prompt.
2) type: ftp <unix server>
3) login as the user your adapter is configured to use
4) change to correct directory and look for the files.
If you can't see them, then I am guessing it's a permission thing.
Note: I am by no means a Unix expert but going from what issues I've
encountered, that would be the first place I would check.
cmb..
| |
|
| Hi Craig,
I have checked getting files with command line ftp client with same username
and password.
And it went well. I could get files from site.
This makes it little bit difficult and intresting.
Why can't Biztalk Ftp-Adapter read files from site?
Best regards
Jari
"Craig Beuker" wrote:
> "=?Utf-8?B?SmFyaQ==?=" <Jari@discussions.microsoft.com> wrote in
> news:D9156074-6C57-4AB5-BB7D-CB59379DC945@microsoft.com:
>
> <Misc FTP logs deleted>
>
> What are the permissions on the file/folder on the Unix Server? ie: Does
> the user you are connecting to the FTP Server as have the needed
> permissions to list files in the folder, read files from that folder and
> delete files from that folder. If the user you are connecting to the FTP
> Server as doesn't have the right permissions, this could lead to you not
> being able to see the file.
>
> Try this from your windows box:
> 1) go to the command prompt.
> 2) type: ftp <unix server>
> 3) login as the user your adapter is configured to use
> 4) change to correct directory and look for the files.
>
> If you can't see them, then I am guessing it's a permission thing.
>
> Note: I am by no means a Unix expert but going from what issues I've
> encountered, that would be the first place I would check.
>
> cmb..
>
| |
| Christian Carnero 2006-01-17, 5:58 pm |
| Hi,
Does the BizTalk Server Service user account have RW permissions over the
remote FTP ?
If this does not work try using a SSO with an Affiliate Application (Check
SSO SDK documentation).
Regards
Christian
"Jari" wrote:
[vbcol=seagreen]
> Hi Craig,
>
> I have checked getting files with command line ftp client with same username
> and password.
> And it went well. I could get files from site.
>
> This makes it little bit difficult and intresting.
> Why can't Biztalk Ftp-Adapter read files from site?
>
> Best regards
>
> Jari
>
> "Craig Beuker" wrote:
>
| |
|
| Hi all,
and thanks for all replies.
They guided me to right track for solving this problem.
IT IS SOLVED NOW.
The problem was in unix side.
The user which was used for connection was configured to jump automatically
to some subfolder. But the "usr/bin/ls" was not added to the same subfolder
or someting like that (I'm not very familiar with unix).
And that's why the LIST command did not work (did not find any files)
Now this is fixed and everyting is working.
Best regards
Jari
| |
| McGeeky 2006-01-18, 7:50 am |
| At last! Well done.
--
McGeeky
http://mcgeeky.blogspot.com
"Jari" <Jari@discussions.microsoft.com> wrote in message
news:EE75D3C9-3D46-4E27-8DF0-A079E6D01ED5@microsoft.com...
> Hi all,
> and thanks for all replies.
> They guided me to right track for solving this problem.
>
> IT IS SOLVED NOW.
>
> The problem was in unix side.
>
> The user which was used for connection was configured to jump
automatically
> to some subfolder. But the "usr/bin/ls" was not added to the same
subfolder
> or someting like that (I'm not very familiar with unix).
> And that's why the LIST command did not work (did not find any files)
>
> Now this is fixed and everyting is working.
>
> Best regards
>
> Jari
>
>
| |
| MWE Computers Services 2006-02-01, 2:52 am |
| As a past unix sysadmin, the PHNE_23950 gave it away -- this is a HP-UX
system where the FTP server application is running upon.
-- Michael
"Jari" <Jari@discussions.microsoft.com> wrote in message
news:8E0BFBB6-17BD-4787-93B4-51953FDF2206@microsoft.com...[vbcol=seagreen]
> Hi McGeeky,
>
> What do you mean by "flawour".
> I am not familiar with unix platforms.
> In this case it is customers unix.
>
> In ftplog file are these informations :
>
> "zebrano FTP server (Version 1.1.214.4(PHNE_23950)" and
> "UNIX Type: L8"
>
> Are they any help for you?
>
> Jari
>
>
> "McGeeky" wrote:
>
work.[vbcol=seagreen]
|
|
|
|
|