Jump to content

Recommended Posts

Hello World,

please does anyone have an experience with sending files from Vision to a FTP server? Our client asked for that function. I downloaded the FTP client example to my V700 but I am not able to send data. I am testing the communication with local FileZilla server. Login of user works properly. Switch to PASSV works, too. The last command is STOR, FileZilla responds correctly. Nevertheless, when Vision starts sending data (function block TCP_RAW SEND), server did not recognize data as a stream but rather as an unsupported command. At the end, the file with proper name appears on the server but without any content (zero length of file).
What am I doing wrong?
FIleZilla output:
(000029)14.8.2020 13:29:34 - (not logged in) (> USER shcontrol
(000029)14.8.2020 13:29:34 - (not logged in) (> 331 Password required for shcontrol
(000029)14.8.2020 13:29:35 - (not logged in) (> PASS ********
(000029)14.8.2020 13:29:35 - shcontrol (> 230 Logged on
(000029)14.8.2020 13:29:37 - shcontrol (> PASV
(000029)14.8.2020 13:29:37 - shcontrol (> 227 Entering Passive Mode (10,100,0,111,252,170)
(000029)14.8.2020 13:29:37 - shcontrol (> STOR TEST.CSV
(000029)14.8.2020 13:29:37 - shcontrol (> 150 Opening data channel for file upload to server of "/TEST.CSV"
(000029)14.8.2020 13:29:37 - shcontrol (> 2020.08.12 15:54;79.812;76.457
(000029)14.8.2020 13:29:37 - shcontrol (> 500 Syntax error, command unrecognized.

(000029)14.8.2020 13:29:37 - shcontrol (> 226 Successfully transferred "/TEST.CSV"
(I do not append source code because it is just slightly modified example V700_FTP_client.vlp from VisiLogic Help menu).

Thank you,

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...