TwinCAT 3 FTP ErrID 1799

Vijolica555

Member
Join Date
Apr 2018
Location
Germany
Posts
21
Hello,

When trying to upload my data file on Server with FB_FTP_FileUpload i use FB_FTP_HostResolve to get Ipv4 of my HostName. ErrID is 1799 - device is not in a ready state.
Both FB are Beckhoffs.

Any idea what to do?

Thank you.
 
https://infosys.beckhoff.com/english.php?content=../content/1033/tcftpclient/html/tcftpclient_sample2.htm&id=7573985449965586750

Did you follow the above example for uploading files to a server?

"To execute this sample you have to create a user with the username "TestUser" and the password "TestPwd123" on the FTP Server.
If you set a rising edge at the input variable "bExecute" with the help of the variable "startstop", the file "\Program Files\TestFile1.txt" from the ADS device will be copied to the FTP Server. On the FTP Server the name of the file will be set to "\TestFolder\File1.txt". The folder "TestFolder" will be created if it isn't available.

Notice that the user "TestUser" has rights for reading and writing."

This may help you out.
Regards,
 
Hello,

Thank you for your Response.

Problem is that i need sHost, that is why I used FB_FTP_HostResolve and already here i get ErrID.

So I Use:
- FB_FTP_HostResolve (This fb gives me IPv4Addr = sHost, which I need for other fb.s)
- FB_FTP_Open and then
- FB_FTP_FileUploadEx
 
Since I was beginner I did not know that my problem was that my licence for FTP had expired.. And my TwinCAT did not pop out new window to tell me that.. IF smt like this happens to you go at System --> Licence and ask for new one..
 

Similar Topics

Hi I'm after some advice as to whether TwinCAT can create a *.dll file with a set of predefined variables. The reason being we are upgrading to...
Replies
0
Views
43
I am using twincat 3 to send some strings over TCP/IP. Where the server is a sensor and my PLC is the client. I noticed that the sensor didnt...
Replies
2
Views
134
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
355
Hi! I am trying to run the 'SimpleSample' (https://infosys.beckhoff.com/content/1033/TF5100_TC3_NC_I/Resources/3438746891/.zip ) to understand the...
Replies
2
Views
144
I am developing a library in twincat and one of the function uses IID_ITcVnAccess_TcVnPoint2_DINT and the definition of this type is defined in...
Replies
0
Views
108
Back
Top Bottom