Just for reference, I am using the below code to connect and it actually says I am connected and logged in. I am not sure if it is not actually connected or if there is something extra needed to see what is in the directory? The Qt side says it is connected (how would I verify that it is actually connected?) and that the directory is empty. It seems that there are no files or directories showing from the connected server. Maybe even a small example of using Qt to do a file transfer over Ethernet would be good.įor some reason it is working now without doing anything. I a complete noob when it comes to FTP and Qt so any insight that anyone can provide would be helpful. Also, the username and password might have something to do with it. The problem seems to be something with using IP addresses and connecting locally. I have no problem transferring files over FTP using the command line on my PC and connecting to the server on the WEC7 machine. However, when I run the application, the UI just notifies me that it is trying to connect forever even though I have seen it get past these two commands using debug messages. I thought I would be able to change the two connect lines in the FtpWindow::connectToFtp() function as ftp->connectToHost("192.168.0.232") įtp->login("anonymous", IP here is the IP of the WEC7 PC. For my application, I am trying to use my desktop Qt application to connect through Ethernet to a local WEC7 computer. I was able to get the example code (FtpWindow) running and connecting to an ftp server using a URL.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |