This doesn’t say much, since depending on the module you use, there are different versions of OpenAT. It is probably a good idea to be more specific on the version numbers than that. Also it will help people in the future not to go through release notes to figure out what the latest version was today…
I’m sorry I wasn’t specific, so here are some details:
The module is Q2686H, the WIP version is 2.00.15.
When I said “isn’t valid” I mean that when using a pointer to the string in putFile(), the string that follows “STOR” command is like “p” instead of “test.dat”. I can see this in the log of the FTP server and the message “Unable to open file. The file name, directory or volume label is not valid.”
Here’s a copy of the log screen:
Jun 05 08:17:24 0 Incoming connection request on interface 10.0.0.13
Jun 05 08:17:24 0 Connection request accepted from 200.49.201.26
Jun 05 08:17:25 0 USER anonymous
Jun 05 08:17:25 0 331 User anonymous, password please
Jun 05 08:17:25 0 PASS ***********
Jun 05 08:17:25 0 230 Password Ok, User logged in
Jun 05 08:17:25 0 Anonymous user "anonymous" logged in with password "wip@wavecom.com"
Jun 05 08:17:25 0 TYPE I
Jun 05 08:17:25 0 200 Type Binary
Jun 05 08:17:26 0 PORT 200,49,201,26,229,221
Jun 05 08:17:26 0 200 Port command received
Jun 05 08:17:26 0 STOR ``p
Jun 05 08:17:26 0 150 Opening data connection
Jun 05 08:17:26 0 Unable to open file: El nombre de archivo, directorio o etiqueta del volumen no es válido.
Jun 05 08:17:26 0 500 File transfer failed
Jun 05 08:17:28 0 QUIT
Jun 05 08:17:28 0 Connection terminated.
amat79, I’ve tried your code with the same result thanks anyway!
That pretty much looks like the pointer pointed to something wrong.
Did you use the varibale fil as local variable that might not be available when the wip_putFile() uses the pointer value?