this line to error
- try
- {
- file = @"" + drives[drive_i] + "fsmanager_good_" + fileto + ".csv";
- string json_off = new WebClient().DownloadString(file);
- byte[] bytes = Encoding.Default.GetBytes(json_off);
- json_off = Encoding.UTF8.GetString(bytes);
- //json_off = Uri.EscapeDataString(json_off);
- json_off = json_off.Replace("Cash & Card", "CashandCard");
- //MessageBox.Show(upurl + "fileupload.php?ontbl=" + Uri.EscapeUriString(json_off));
- string json_on = new WebClient().DownloadString(upurl + "fileupload.php?ontbl=" + Uri.EscapeUriString(json_off));
- if (File.Exists(file))
- {
- File.Delete(file);
- }
- err = 1;
- }
- catch
- {
- // MessageBox.Show("Please connect internet.", "Online Alert", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }


Manav PandyaRank #166 · 14.3K reputationPosted Jan 5, 2018, 10:40 PM EST
Bharathi RajaRank #1,778 · 842 reputationPosted Jan 5, 2018, 11:14 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Jan 5, 2018, 11:29 PM EST
Bharathi RajaRank #1,778 · 842 reputationPosted Jan 5, 2018, 11:40 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Jan 6, 2018, 12:45 AM EST
Bharathi RajaRank #1,778 · 842 reputationPosted Jan 7, 2018, 11:32 PM EST
Bharathi RajaRank #1,778 · 842 reputationPosted Jan 31, 2018, 11:29 PM EST