05-05-2010 04:23 AM
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/
05-05-2010 04:40 AM
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
05-05-2010 05:50 AM
05-05-2010 07:52 AM
05-05-2010 08:02 AM
05-05-2010 08:07 AM
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........
05-05-2010 08:21 AM
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 🙂