Hi,
I have created a FTP component in VS2008 using ftpwebrequest class.
The problem is the file is getting uploaded to the ftp server when I’m running the code from my local.
But when I run the code from my web server and try to upload a file from my local system to the ftp server, it is not working.
Its looking for the file in the web server.
Eg: if I upload a file from my local path : C:/testftp.doc
It is looking in the web server c:/. I am not sure how to pass the client path.
Can u pls help me in this regard.
I have created a FTP component in VS2008 using ftpwebrequest class.
The problem is the file is getting uploaded to the ftp server when I’m running the code from my local.
But when I run the code from my web server and try to upload a file from my local system to the ftp server, it is not working.
Its looking for the file in the web server.
Eg: if I upload a file from my local path : C:/testftp.doc
It is looking in the web server c:/. I am not sure how to pass the client path.
Can u pls help me in this regard.