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

Sorry if this has been asked before, and apologies if this seems like a trivial issue, but I am new to Beckhoff and have been banging my head...
Replies
1
Views
61
Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
754
I am trying to communicate between a 1769-L16 and a beckhoff EL6652 EtherNet/IP-Master. I need 8 INT and 2 REALS. When I generate the eds file, in...
Replies
1
Views
111
Hi everyone, I'm a last year student at the university in Ghent, and for my thesis i need to write a TwinCAT program that writes data to a .daq...
Replies
0
Views
121
We have a Pinnacle power supply from Advanced Energy which we'd like to control using TwinCAT 3, via an EL6002 and RS-232. I got the...
Replies
2
Views
697
Back
Top Bottom