Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble ftp'ing with a webservice

Status
Not open for further replies.

Glowworm27

Programmer
Joined
May 30, 2003
Messages
587
Location
US
I have a c# ftp client project, and it works just fine when I use it with a windows Service to download files.

I need to also use the ftp client to download files through a webservice. but it is not connecting.

The ftp client is called from a custom class that I built in the webservice. it will create the object, but when I try to open the ftp connection to the ftp server, it throws an error and doesnt connect.

Basicaly the same code works from a desktop app or as a windows service.

Any ideas? thanks
[cannon]

George Oakes
Check out this awsome .Net Resource!
 
Please provide the details of the error.

Oh, and read this: FAQ855-2992

-p

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Sounds like a permissions problem to me. Are you sure the web service has the correct permissions to access the server (i.e. the ASPNET account has the correct priviliges etc).

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
the webservice has my permissions, I am authenticated to the webservices using identity impersonate = true.

It is as If I were trying to download the file.
I am using windows authenitication ONLY, anonymous users are not allowed. And I have the permission needed to download files.

George Oakes
Check out this awsome .Net Resource!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top