Socket error when switching between download and upload

All other Source.Python topics and issues.
code_fun
Junior Member
Posts: 1
Joined: Fri Apr 07, 2023 3:00 am

Socket error when switching between download and upload

Postby code_fun » Fri Apr 07, 2023 3:10 am

When I run a download code (file transfer) and then switch over to upload, the application stops responding. I have tried using the code in the body of the program as well as calling it as a function. It didnt seem to have made any difference, the non-responding occurs regardless. I can download all day with the code and upload all day, but the minute I switch from download to upload or visa-versa, the code stops functioning and crashes the application. So I dont think its a coding error. It has something to do with the socket switching between reading and writing and then writing and reading files that initiates the problem. This might require a second socket for upload. I've been uploading and downloading with a single socket.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 14 guests