문제

I have a doubt regarding multiple file transfer with qftp. There is no direct way to transfer multiple files with qftp class. Well, I tried it using arbitrary ftp command "mput" with "rawCommand" in QFTP. But it doesnt work for me.

Please let me know how I could do a multiple file transfer with qftp.

Thanks,

도움이 되었습니까?

해결책

Use a for-loop, and start a new transfer for every iteration. Then collect all the commandFinished() signals at the end.

QFtp works asynchronously. If an operation cannot be executed immediately, the operation will automatically be scheduled for later execution. The results of scheduled operations are reported via signals.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top