Re: Unable to perform certain tasks against a Glob - WeOnlyDo Discussion board

Re: Unable to perform certain tasks against a Glob (General questions)

by kdcarlisle, Saturday, April 06, 2013, 20:18 (4031 days ago) @ woddrazen

Sure. Here is the code block. Let me know if you want me to email you the whole solution.

private static readonly string UPLOAD_FILE = @ d:lipsum.txt ;
...
Ftp = new FtpDLX();
...
string remoteDir = / ;
...
Trace.WriteLine(string.Format( Remote path before put: {0} , Ftp.RemotePath));
Trace.WriteLine( Put files on FTP server );
Ftp.PutFile(UPLOAD_FILE, remoteDir);
if (Ftp.LastError != null) throw Ftp.LastError;
Trace.WriteLine(string.Format( Remote path after put: {0} , Ftp.RemotePath));


Complete thread: