PDA

View Full Version : Problem with the put() function of QFtp class



whyisosad
20th March 2009, 09:57
I used the QFtp:: put() function to upload a file to the server. But if the file already exists on the server, I will get an error message:Could not create file. What should I do to overwrite the file on the server? Thanks!

Hiker Hauk
20th March 2009, 10:03
Maybe call QFtp::list first to check the original file on the server and then call QFtp::remove to delete it if you decide you should do it.