 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Dominik
Joined: 30 Jul 2007 Posts: 36
|
|
FTPPutFile problems |
|
Hi,
ich try to use a FTP Connection and got the following error.
While i got an result ->
FTPDir( servername, "user", "password", "Offene_Posten//Data//*.*", x )
MessageBox x
i allways recieve the error message: "The Server has returned an extended error ... File Server not avaible"
while executing:
FTPPutFile( servername, "user", "password", "I:\\oao1\\sft\\ftp_schuelbe\\hagebau\\edifact\\prod\\test.txt", "//Offene_Posten//Data//" )
Someone, who can help?
Thanks
Dominik
|
|
Fri Jun 20, 2008 5:32 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
This means that the specified server is not responding. Is the value in servername variable valid?
|
|
Fri Jun 20, 2008 7:39 am |
|
 |
Dominik
Joined: 30 Jul 2007 Posts: 36
|
|
|
|
I execute the both commands (FTPDir, FTPPutFile) in the same script, I use the same Servername, User, Password.
FTPDir is working fine (showing me the directory) ... but FTPPutFile results into this error. The Server is ready, otherwise even the FTPDir would'nt work.
Thank you
Dominik
|
|
Fri Jun 20, 2008 7:53 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I:\\oao1\\sft\\ftp_schuelbe\\hagebau\\edifact\\prod\\test.tx -- this looks very suspicious. Standard FTP servers rarely absolute directory names when referring to files. File references are usually relative and starting with the root folder for the user being logged in. Also it is unlikely your FTP server allows you to access network shares, I assume "I:\oao1" refers to a mapped network drive.
|
|
Fri Jun 20, 2008 11:52 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|