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

2008-03-13 Thread Arno Garrels
Hello Dave, > If I want to transfer the "C:\Documents and Settings\dave\My > Dociments\Files to upload\logo.jpg", I place that string in the > FTPClient1.FileName parameter and then call FTPClient1.PutAsync? That property is named LocalFileName. On uploads LocalFileName represents the local sour

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

2008-03-13 Thread Dave Coventry
'Morning Arno. Sorry, that was a typo. Okay, so I'm on the right track. I wonder why the Wireshark dump didn't show the file? On Thu, Mar 13, 2008 at 9:21 AM, Arno Garrels <[EMAIL PROTECTED]> wrote: > Hello Dave, > > > > If I want to transfer the "C:\Documents and Settings\dave\My > > Docimen

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

2008-03-13 Thread Arno Garrels
Dave Coventry wrote: > I wonder why the Wireshark dump didn't show the file? Wireshark can only 'see' data passing the NIC. I think a file transfer was just not started yet. > I'm using 'Put' (or 'PutAsync', I'm not sure I understand the > difference) Method Put is blocking, it returns when th

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

2008-03-13 Thread Dave Coventry
On Thu, Mar 13, 2008 at 9:56 AM, Arno Garrels <[EMAIL PROTECTED]> wrote: > Wireshark can only 'see' data passing the NIC. I think > a file transfer was just not started yet. Hmm. Using Microsoft's command line ftp, Wireshark picks up "STOR logo.jpg". > Method Put is blocking, it returns when t

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

2008-03-13 Thread Dave Coventry
Well, can anyone see what's wrong with the following code that might be causing the problem?: DPath:='C:\Documents and Settings\dave\My Dociments\Files to upload'; FtpClient1.LocalFileName := DPath+'\'+StringGrid1.Cells[1,StringGrid1.Row]; showmessage(FTPClient1.LocalFileName);//<- Shows the cor

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

2008-03-13 Thread Arno Garrels
Dave Coventry wrote: > Well, can anyone see what's wrong with the following code that might > be causing the problem?: Spaces in the file path don't matter. At first you should try to send your file by FtpTst demo, fill in a valid source filename and the other properties correctly. If that failed

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

2008-03-13 Thread Francois Piette
If it doesn't work, please show the error message and the dialog between the server and you app. You can also check the transfert using FtpTst sample program which comes with ICS. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet

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

2008-03-13 Thread Dave Coventry
Okay, thanks very much for the help, guys. I think I had failed to initialise the HostFileName. I've just tried Arno's suggestion to run Ftptst to upload "logo.jpg", and, although the file "logo.jpg" is not present on the system, there is a new file called "index.html" which is the same size as "

[twsocket] Reverse Proxy NTLM-on-web-server problem

2008-03-13 Thread Fastream Technologies
Hello, Some customers complain that when auth. is disabled on proxy and it is tunneled to web server with the client opting for NTLM auth., it does not work. It continuously displays 401 screen of the web server with realm="" on FF latest. If you enter correct or wrong credential, it repops the sa