|
Home > Archive > BizTalk Server General > June 2004 > FTP Adpater Before/After
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 Adpater Before/After
|
|
|
| Has anyone put commands in the Before/After PUT selection boxes on the FTP adapter?
Tried a 'cd dirname' and the ftp log says 'unknown command', works ok in manual ftp mode. Any samples greatly appreciated, nothing in SDK.
| |
| Gilles [MSFT] 2004-06-10, 2:53 am |
| Hello,
>Has anyone put commands in the Before/After PUT selection boxes on the FTP adapter?
>Tried a 'cd dirname' and the ftp log says 'unknown command', works ok in manual ftp mode. [...]
I beleive you are talking about BizTalk 2004.
I assume you have tried 'cd dirname' without the signle quotes around it and it did not work.
I also assume that dirname does not have spaces or otherwise special characters that need
to be escaped (or you escaped them properly for the server).
The documentation explains that commands should be separated with a semi-colon. I understand
that you are using only one command (so the logic would suggest that you do not need a semicolon at the end)
but have you tried a semi-conlon at the end?
I have a limited amount of faith in this suggestion but I am researching the issue.
Hope this is helpful.
Thanks.
-Gilles.
| |
| Gilles [MSFT] 2004-06-11, 12:01 am |
| Hello,
[...]
>I have a limited amount of faith in this suggestion but I am researching the issue.
Allright, I have researched this issue. You have to use the raw/litteral commands like:
APPE : append to a remote file
CDUP : CWD to the parent of the current directory
CWD : change working directory
DELE : delete a remote file
LIST : list remote files
MDTM : return the modification time of a file
MKD : make a remote directory
MODE : set the transfer mode
PASS : send password
PASV : enter passive mode
PORT : open a data port
PWD : print working directory
QUIT : terminate the connection
RETR : retrieve a remote file
RMD : remove a remote directory
RNFR : rename from
RNTO : rename to
SITE : site-specific commands
SIZE : return the size of a file
STOR : store a file on the remote host
TYPE : set the transfer type
USER : send username
so a "cd" should really be CWD dinrmane.
Thanks.
-Gilles.
|
|
|
|
|