clothes store     


How do you access your route..

How can i send a inline imag..

Youtube service only for aud..

Windows vista won't..

Every time I try to use my w..

Domain name changes back to ..

This is a question please he..

Please help..I want to liste..

Should i use helios YDL or a..

I need some php help.?

How to host a website from y..

My Computer Won't O..

How Do I Change My IP Addres..

Can anyone tell me what to g..

Cannot find server - Microso..

What is FTP and how to use i..

Someone check out this Hijac..

Svchost is quite important ,..

Free airtel gprs blocked on ..

Web Page Designing Program....

Connect Connect to the Inter..

Problem with web browsers/ h..

I have Windows Internet Expl..

I need help with creating an..

Anyone have a sight other th..

Surely someone has now come ..

Desktop background problem....

How to creatw hyperlinks in ..

Wamp (windows apache mysql p..

Can you download Microsoft A..

Do I Need to Upgrade RAM to ..

Network error occured?

How can I 'white li..

I need help with yahoo mail ..

Help Setting Up Secure Small..

Need help on SSL?

I am working on a new websit..

Making Programs/Services Run..

Is this a load of rubbish or..
 
Help needed in image uploading..urgent!!!!?    [Imwebhost]

I'm uploading an image from my aspx page to a folder(not in database) in ftp server using the following code::

System.IO.FileStream newFile

= new System.IO.FileStream(Server.MapPath(sSav... + sFilename),System.IO.FileMode.Create,Fil... FileShare.ReadWrite);

newFile.Write(myData, 0, myData.Length);

I'm using a fileupload control to select an image.

now, when i'm running this page from my local server, and click the save button...the selected image is being stored in the webserver.

but, when i hosted this page, run from the web server, select an image and click the save button, a popup window asking for ftp username and pasword is appearing.

Now, what my question is, how to pass the login credentials to the ftp server through my code.

thanks in advance...

Help needed in image uploading..urgent!!!!?

It sounds like you are redirecting the page to the FTP site. I've done quite a bit of development with FTP sites and I don't think that's possible without making the user type in credentials, unless the FTP site is anonymous.

You could setup the FTP with anonymous access, and only allow browse and read-only access.

The title of your question is about "image uploading" if that's your problem, then it sounds like the user really doesn't need to see the FTP directly. You would upload the file like you are doing and then if you need to put it on an FTP site, you can use the FTP object supplied within C# (or VB) to do the uploading on the backend.


[Imwebhost]


Why i can麓t launch my web cam?
Details about MCSE??
Where can i download sp3 for WindowsServer2003 standard edit..
About accessing to another computer via internet.?
Sever 2003 with 2 nic?
Write a brief report on the following?
Should i "Downgrade my PC"?
Spyware/regisrty cleaner xp?
Lots of Networking questions. Please help?
Something shuts down network after a while?



Comment
Name: Name:  Password:   Register?
Comment:
Face