S
Steve Richter
can File.Copy be use to copy files from my PC to the file system at my
shared hosting web site? If so, what is the format of the path name of
the file on the web site?
The idea being that if I login to my ftp site, any subsequent File.Copy
commands will not require server authentication.
this fails - invalid string format:
string source = "c:\\src#\\appl\\bin\\Debug\\orders.dll" ;
string dest = "ftp://[email protected]/WineStore/orders.dll" ;
System.IO.File.Copy( source, dest, true ) ;
this did not work either:
string source = "c:\\src#\\appl\\bin\\Debug\\orders.dll" ;
string dest = "//www.domain.com/WineStore/orders.dll" ;
System.IO.File.Copy( source, dest, true ) ;
thanks,
-Steve
shared hosting web site? If so, what is the format of the path name of
the file on the web site?
The idea being that if I login to my ftp site, any subsequent File.Copy
commands will not require server authentication.
this fails - invalid string format:
string source = "c:\\src#\\appl\\bin\\Debug\\orders.dll" ;
string dest = "ftp://[email protected]/WineStore/orders.dll" ;
System.IO.File.Copy( source, dest, true ) ;
this did not work either:
string source = "c:\\src#\\appl\\bin\\Debug\\orders.dll" ;
string dest = "//www.domain.com/WineStore/orders.dll" ;
System.IO.File.Copy( source, dest, true ) ;
thanks,
-Steve