is GetFristFile() works only with directory path or it can also support url like ftp://10.10.12.13/
i need to retrive filename available inside the folder reports which is under url path ftp://10.10.12.13/reports/
I'm pretty sure it cannot directly support the FTP url syntax. If your program could map the remote drive to a local drive letter, though, then this approach would definitely work. (You could try something along the lines of: system ("net.exe use z: ...") to generate a drive mapping within your CVI program. Sorry I don't know the details of the associated syntax - I'm on the wrong PC!)
JR
but when i was trying with InetFTPGetDir i am getting System socket error, i tried with ftpclnt.cws project in that also i am getting socket error...
my setup connection is correct dont know wr the real problem.... help me in solving this........
raj,
It's difficult for others to remember what you might have tried earlier: the current post was about using getnextfile; the answer was: you can probably use it if you manage to map your network drive.
so if this question is solved, you should mark the current thread as solved and start a new one, with an adapted, meaningful title. This makes life a tiny little bit easier 🙂