Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


cpaluffi
2009-07-06T14:53:44Z
Hi,
I created a task to download a file from a SunSolaris FTP server, but it is always in error with message "Error changing to FTP folder: Unaccepted server reply (error code is 550) (550 /pub/SAP-FI-CO/PreItFiCoOut: No such file or directory.)".
These is the log about FTP connection:

220 prnbcese FTP server ready.
USER XXXXXX
331 Password required for ibm.
PASS ********
230 User XXXXXX logged in.
FEAT
500 'FEAT': command not understood.
SYST
215 UNIX Type: L8 Version: SUNOS
PWD
257 "/AAAA/BBBB/CCCC" is current directory.
PWD
257 "/AAAA/BBBB/CCCC" is current directory.
PWD
257 "/AAAA/BBBB/CCCC" is current directory.
CWD /test1/test2/test3
550 /test1/test2/test3: No such file or directory.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (xx,xx,xx,xx,11,239)
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.

I am also attaching the task config.
Thank you.
Cristiano
cpaluffi attached the following image(s):
Sponsor
Forum information
Support
2009-07-06T15:28:24Z
Do you really have a folder called "/test1/test2/test3"? It does not seem to exist such according to log. Can you please add a screenshot from other ftp client showing structure?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-06T15:53:50Z
Thank you for your reply.
I just found that the Unix FTP server didn't recognize the "/" at the begin of the path, I removed it and it changed directory.
The problem now is that the task tries to download the file in destination directory plus ftp user home directory:
"Error (6) downloading file(s): ERPGYM007, err: Could not find a part of the path '\\miw2k3mompre36\flussi\in\AAAA\BBBB\CCCC\ERPGYM007'." where \AAAA\BBBB\CCCC is ftp user home directory.
I am attaching another screenshot.
Thanks.
Cristiano
cpaluffi attached the following image(s):
Support
2009-07-06T16:23:54Z
That sounds strange because your unix server returns: "/AAAA/BBBB/CCCC" is current directory. Then it should support slashes.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-06T16:46:35Z
You are right, in fact I don't understand why VC rewrite the destination folder adding the ftp home directory in windows style.
I am using a similar download task with sftp server and I haven't that problem, please let me know if you need more informations.
Thanks.
Cristiano
Support
2009-07-06T16:57:27Z
Please post the last settings again and output. Download source directory should be /folderX/folderY if that is the absolute path.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-06T17:26:18Z
Support wrote:

Please post the last settings again and output. Download source directory should be /folderX/folderY if that is the absolute path.



I am attaching again the screenshots about settings, the output and the stderr output with the real paths and real file names.

Task Output:
220 prnbcese FTP server ready.

USER ibm
331 Password required for ibm.

PASS ********
230 User ibm logged in.

FEAT
500 'FEAT': command not understood.

SYST
215 UNIX Type: L8 Version: SUNOS

PWD
257 "/BC-IBM/home/ibm" is current directory.

PWD
257 "/BC-IBM/home/ibm" is current directory.

PWD
257 "/BC-IBM/home/ibm" is current directory.

CWD pub/SAP-FI-CO/PreItFiCoOut
250 CWD command successful.

TYPE A
200 Type set to A.

PASV
227 Entering Passive Mode (10,245,18,42,125,196)

LIST
150 Opening ASCII mode data connection for /bin/ls.

226 Transfer complete.

PWD
257 "/BC-IBM/home/ibm/pub/SAP-FI-CO/PreItFiCoOut" is current directory.

TYPE A
200 Type set to A.

PASV
227 Entering Passive Mode (10,245,18,42,121,109)

LIST
150 Opening ASCII mode data connection for /bin/ls.

226 Transfer complete.

Stderr Output:
Error (6) downloading file(s): ERPGYM017, err: Could not find a part of the path '\\miw2k3mompre36\flussi\in\BC-IBM\home\ibm\ERPGYM017'.

Thank you.
Cristiano
cpaluffi attached the following image(s):
Support
2009-07-06T20:52:28Z
You should start with / in source folder. Please post a log when using that.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-07T12:34:41Z
Support wrote:

You should start with / in source folder. Please post a log when using that.


If I add / in source folder and the stderr output is:
Error changing to FTP folder: Unaccepted server reply (error code is 550) (550 /pub/SAP-FI-CO/PreItFiCoOut: No such file or directory.)

Thanks.
Cristiano
ErikC
2009-07-07T13:12:27Z
I think this is your directory:

/BC-IBM/home/ibm/pub/SAP-FI-CO/PreItFiCoOut


Regards
Erik
Uses Visualcron since 2006.
cpaluffi
2009-07-07T13:26:54Z
ErikC wrote:

I think this is your directory:

/BC-IBM/home/ibm/pub/SAP-FI-CO/PreItFiCoOut


Regards
Erik



Thank you Erik for your reply.
/BC-IBM/home/ibm is the ftp user home dir and I didn't put it in source folder together with the file path. I just tried to do that and the task has been completed successfully.
It is very strange but thank you very much for your post.
Regards,
Cristiano
ErikC
2009-07-07T13:30:30Z
In the ftp path you should always start at the root, so always start with the slash.
I saw the PWD comamnd and the current path starting wit the slash, than I saw the CWD to an other dir withouth the slash and it succedded, so combining these two should give you the path to go to.

Glad I could help.

Regards,
Erik
Uses Visualcron since 2006.
Support
2009-07-07T13:54:29Z
Yes, it is important to use full absolute path. In other ftp clients you may enter your home directory but VisualCron needs the full absolute path.

Thanks Erik for the feedback.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-07T14:36:46Z
Support wrote:

Yes, it is important to use full absolute path. In other ftp clients you may enter your home directory but VisualCron needs the full absolute path.

Thanks Erik for the feedback.



Ok, thank you.
Regards,
Cristiano
Scroll to Top