Solved

when using program with IDFTP in not administrator mode i get Socket Error # 10054

Posted on 2006-10-26
8
918 Views
Last Modified: 2012-06-27
when using program with IDFTP in not administrator mode i get Socket Error # 10054

i'm connecting with ftp to download file...

idFTP1.connect;
idFTP1.get('temp.exe','temp', true);
idFTP1.disconnect;
0
Comment
Question by:selas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 28

Expert Comment

by:2266180
ID: 17810505
works perfectly for me.
btw, 10054 is connection reset by peer. are you sure you are configuring your idftp correctly (maybe passive is necessary?)
0
 

Author Comment

by:selas
ID: 17810746
with Administrator rights it works fine, but then i install program on user rights acount it makes error... :(
0
 
LVL 28

Expert Comment

by:2266180
ID: 17810791
well, on my system, I made a simple program only having an idftp component on it, configured as passive (required by my ftp server), those 3 lines you posted in the form oncreate (different file name though) and from my user with admin rights I right clicked on the exe and selected "run as" and inputed my test account (no admin rights) and it worked just fine.

can you do this as well? maybe there is an issue with your application. make a small one, test app and see if the issue reproduces. there is no reason why a simple program with ftp client will not run on an account with no admin rights.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:selas
ID: 17811910
i done it... on my test pc it works... but with other pc on user acount rights it not working... maybe i need something to install on client compiuter about indy...
strange things is happening
0
 
LVL 28

Expert Comment

by:2266180
ID: 17811935
never heard of such necessity. try looking in the event log on the computer where the application is failing. see if you have any entries in one of the 3 logs regarding your application. it might be some restrictions in effect on that machine.
0
 

Author Comment

by:selas
ID: 17812047
Event Type:      Error
Event Source:      Userenv
Event Category:      None
Event ID:      1054
Date:            2006.10.26
Time:            11:03:12 AM
User:            NT AUTHORITY\SYSTEM
Computer:      PB35
Description:
Windows cannot obtain the domain controller name for your computer network. (A socket operation was attempted to an unreachable host. ). Group Policy processing aborted.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
0
 

Author Comment

by:selas
ID: 17812086
what this about...
0
 
LVL 28

Accepted Solution

by:
2266180 earned 500 total points
ID: 17812098
well, that is certainly not related to the indy component, but to the pc configurations. more exactly, it seems that the pc is in a domain and has some issues. I am not an expert on this side, but I did find the following: http://www.experts-exchange.com/Networking/Q_21304901.html and http://www.tek-tips.com/viewthread.cfm?qid=920445 and http://blog.tmcnet.com/blog/tom-keating/technology-and-science/playing-chicken-installing-microsoft-windows-xp-sp2.asp
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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