Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FTP prob
#1
I'm trying to check the existence of a file on a Unix box via ftp (I use WS_Ftp and batch file ftp to dnld from it regularly) but I keep getting an error.
I can get it to download the file but I don't want it to download it just check to see if it is there (I thought to use "modtime") and if the str is "" then wait and retry the process.

However, I can't seem to get the ".Cmd" function to work even with "ls".

Quote:str ss
m.timeout=1

Ftp f.Connect("#######" "********" "##*##*####")
f.DirSet("*************")
f.Cmd("ls" &ss 1)
out ss

Any ideas what I'm doing wrong?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)