Downloading fails from ftp server using TMS Webcopy software in Delphi xe3 -


Hi I'm trying to download a file using TMS software. But the file may not seem to be downloading.

I use the following code, and wrote it in an exception handler which tells me that the URL is not found. Any help would be appreciated. Main. Webcopy 1. ITEMS. Clear; With the main. Webcopy 1. ITEM Add FTPHost Start: = fHost; FTPUserID: = fusername; FTPPassword: = fPass; URL: = '\ Setup \ libmysql.dll'; Protocol: = wpFTP; CopyNewer only: = true; TargetDir: = 'c: \ Program Files \ myfolder \'; End; Main.WebCopy1.Execute;

I will just add, I have tested the same code and url in another project which I wrote and it worked.

Thanks

I will try:

  • Use the debugger and check the code that connects and sends the HTTP request
  • to see what resource has been requested
  • An HTTP proxy (Fidler) To access, check your HTTP server log file and remove the related part of your Delphi application and your HTTP
  • two projects, then separate their sources

    (Both Working and with non-working applications).

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -