Solved

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

Posted on 2006-10-26
8
902 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
  • 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Path  to current project in Delphi. 2 93
Delphi : could not find program, '...exe' 2 193
Intraweb download file link ? 1 156
RESTRequest Parameter 4 43
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 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