EDIT
First off the @
sign is there to flag the string as a literal. it saves you having to escape characters like backslashes. e.g.
string path = "Z:\\Path\\To\\File.txt";
string path = @"Z:\Path\To\File.txt";
Secondly, if you only have FTP Access to the other server, then you can take, the FileUpload.FileBytes
Property of the FileUpload control. That will give you a byte[]
of the file contents.
From this you use the System.Net.FtpWebRequest
& System.Net.FtpWebResponse
to upload your file to the FTP Account.
Theres some sample code here in VB.NET but it should be easy enough for you to figure out
http://www.programmingforums.org/thread15954.html
ORIG
The file upload control will provide you with the File on your webserver.
It would be up to you, to copy/save that file then from the webserver to whatever server
you're FTP is hosted on.
Do you have a UNC Path/Mapped Drive shared out on your other server that you can save to.
The FileUpload Control has a .SaveAs()
method so it's just a simple matter of
if (FileUpload1.HasFile)
try
{
FileUpload1.SaveAs(@"Z:\Path\On\Other\Server\" + FileUpload1.FileName);
}