Re: [twsocket] Using 'PUT' to upload a file

2008-03-12 Thread Dave Coventry
Damn! I should have looked at the Wireshark output before posting. It appears that TFTPClient sends 'STOR' but doesn't specify a Local file to upload. When I test using Windows ftp, the wireshark output shows 'STOR logo.jpg', but the output of my app only says 'STOR'. If I want to transfer the

[twsocket] Using 'PUT' to upload a file

2008-03-12 Thread Dave Coventry
My simple app can't upload a file. I'm using 'Put' (or 'PutAsync', I'm not sure I understand the difference), but get the error > PASV < 227 Entering Passive Mode (80,84,64,24,158,177) ! Upload Size 720 > STOR < 553 Could not create file. OnRequestDone. RqType = 18ErrCode = 553 *** ERROR 553

[twsocket] Listening UDP port and specify same port for UDP sending

2008-03-12 Thread Dod
Hello, I have a machine with only one IP address and a listening WSocketServer on UDP port XXX. >From same project I want to send UDP data to an other machine but with .LocalPort set with same as current listening server port. On Win2K, XP and Vista it works well, UDP data is sent