Solved

delphi ftp

Posted on 2011-03-18
4
273 Views
Last Modified: 2012-05-11
hello experts.
Please help me with one trouble.

I have a idftp1.
and i need to upload some files with a specified proxy.
Can someone help me to configure it?
thanks
0
Comment
Question by:helyonprime96
4 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 250 total points
ID: 35164545
First of all let's check whether you can connect through this proxy or not:

  idftp1.Host := ProxyHost;
  idftp1.Username := Username;
  idftp1.Password := Password;
  try
    idftp1.Connect(True, 300);
    showmessage('Connected');
  except
    showmessage('Error connecting');
  end;

You have to ensure you can connect first.
0
 
LVL 8

Expert Comment

by:BdLm
ID: 35170405
0
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 250 total points
ID: 35186867
This panel entry from DelphiGroups deals with your problem...

TidFTP and Proxy/socks
http://www.delphigroups.info/2/10/202209.html
0
 

Author Closing Comment

by:helyonprime96
ID: 35361722
thanks.question partially resolved
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Eclipse Neon start with Admin account only 6 89
move one pixel 4 58
Delphi inherited method 6 60
How to obtain Administrator permission when you are the Administrator 6 57
A short article about a problem I had getting the GPS LocationListener working.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now