Hi,
When I start my program in the debugger, there is no problem, but when not I
get an exception.
It appears in:
private void Upload(string filename, string FTnaam)
{
MessageBox.Show ("in upload.");
FileInfo fileInf = new FileInfo(filena me);
MessageBox.Show ("file: " + filename + " upload: " + FTnaam);
string uri = "ftp://" + F1.FTPserver + FTnaam; // fileInf.Name;
FtpWebRequest reqFTP;
MessageBox.Show ("Uri :" + uri);
// Create FtpWebRequest object from the Uri provided
- reqFTP = (FtpWebRequest) FtpWebRequest.C reate(new Uri("ftp://"
+ F1.FTPserver + FTnaam));
here its going wrong
When I start my program in the debugger, there is no problem, but when not I
get an exception.
It appears in:
private void Upload(string filename, string FTnaam)
{
MessageBox.Show ("in upload.");
FileInfo fileInf = new FileInfo(filena me);
MessageBox.Show ("file: " + filename + " upload: " + FTnaam);
string uri = "ftp://" + F1.FTPserver + FTnaam; // fileInf.Name;
FtpWebRequest reqFTP;
MessageBox.Show ("Uri :" + uri);
// Create FtpWebRequest object from the Uri provided
- reqFTP = (FtpWebRequest) FtpWebRequest.C reate(new Uri("ftp://"
+ F1.FTPserver + FTnaam));
here its going wrong
Comment