Solved

delphi ftp

Posted on 2011-03-18
4
271 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
This is an explanation of a simple data model to help parse a JSON feed
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…

706 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

11 Experts available now in Live!

Get 1:1 Help Now