• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 820
  • Last Modified:

IDFTP File verification

HI,

How to verify wether the file is existed in the remote server or not using IDFTP.
0
sbondalapati
Asked:
sbondalapati
  • 2
  • 2
1 Solution
 
sbondalapatiAuthor Commented:
hi,

  Is there any body to answer my question?
0
 
Mahdi78Commented:
try this

if IdFTP.FileDate('.yourfile') = 0 then showmessage('file not exist')
else  showmessage('file exist');
0
 
Mahdi78Commented:
Your file without dot

if IdFTP1.FileDate('yourfile') = 0 then showmessage('file not exist')
else  showmessage('file exist');
0
 
sbondalapatiAuthor Commented:
THanks
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now