‎2008 Mar 08 7:55 PM
I am making a ftp from abap program into unix server , but it is giving following error with exit code 7.
Any info on this. following is the error log from SM37.
Verbose mode on.
800 PORT command successful. Con sider using PASV.
853 Could not create file.
821 Goodbye.
Checking Transfer Status...
put /vas/atr/prd/int/outbox/yatt301.dat x/yatt301.dat
Transfer Incomplete.....
/vas/atr/prd/bin/ftpput.sh[61]: /vas/atr/prd/int/applog/MASTER.L OG: Cannot create the specified file.
External program terminated with exit code 7
a®
‎2008 Mar 09 3:23 AM
Not had this myself, but instinct says authorisations seems most likely (or invalid file name for the operating system you are writing to?)... if the former, are you trying to go an overwrite of an existing file e.g. does it work if you change the target name to, say, sdn.txt as anonymous FTP sometime has this restriction... and does subdirectory x/ exist on target system? It's one of those hard to figure without being there... can you FTP from another application (winFTP or whatever) successfully?
Jonathan
‎2008 Mar 09 3:23 AM
Not had this myself, but instinct says authorisations seems most likely (or invalid file name for the operating system you are writing to?)... if the former, are you trying to go an overwrite of an existing file e.g. does it work if you change the target name to, say, sdn.txt as anonymous FTP sometime has this restriction... and does subdirectory x/ exist on target system? It's one of those hard to figure without being there... can you FTP from another application (winFTP or whatever) successfully?
Jonathan
‎2008 Mar 09 3:51 AM
Jonathan,
Thanks for your reply.
I am trying to overwrite an existing file in the FTP server with same name . Can you please confirm if the file already exist then if we trying to overwrite with same name ,then this error occurs?
a®
‎2008 Mar 09 11:31 AM
Hi,
I've read somewhere (can't find the link, sorry) that this can be a problem with anonymous FTP for example, so it seems likely on this occasion too. If I find the reference tomorrow then I'll post it.
Jonathan
‎2008 Mar 09 11:15 PM
I just tried "ftp guest ftp overwrite" in Google and here's one example of the setup for FTP where the permissions for overwrite can be set:
http://danklosterman.homedns.org/linux/guestftp.html
Jonathan
‎2008 Mar 10 3:37 PM
Thanks,
I find problem is because of i am trying to overwrite an existing file
a®