LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 15501 occurred at FTP Transaction: 501 Invalid number of arguments RETR

Hi,

 

I am trying to copy multiple files from a server to the local machine. I am using Ftp Get Multiple Files.vi. 

 

I have given the Username, password, Host.

 

When i run it, it shows the following error. Can anyone help me in this?

 

Regards,

Arvinth

0 Kudos
Message 1 of 5
(8,273 Views)
Without seeing the arguments taht you are passing to the VI it is hard to say but the error indicates that at least one of your data you are passing in is not properly formatted. I would check the help for the VI and see what exactly it is expecting. If I had to guess I would say that your file list is not correct.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 5
(8,249 Views)

Hi Mark,

 

 

Thanks for your reply..

 

I know i have given the host, user, and the password correctly as i have used it log into FileZilla-free open source ftp solution.

 

But i am not sure about what should be the path for the File specifications - the details associated with this array cluster.

 

I have given the normal system path to it.

 

You have any comments on this?

0 Kudos
Message 3 of 5
(8,246 Views)

Mark,

 

I am sure in giving the host,user and password entry correctly, but not sure with the remote/local path in the file specifications.

 

i have given the path as "/D/new/filename"

 

i have entered two data in the array. Now it gives Error 426: Connection closed.

 

Thanks,

 

Regards,

Arvinth

0 Kudos
Message 4 of 5
(8,241 Views)

I had the same error for the invalid syntax and it was related to the remote path.

 

I just entered the name of the File, e.g.  filename.txt

 

I think in Arvinth's case, you'd need to remove /D/ and just use: new/filename

 

Hope this helps someone else.

Vincent Carpentier, Ing./Eng.
CLA, CPI
Neosoft Technologies
www.neosoft.ca
DQMH Trusted Advisor
0 Kudos
Message 5 of 5
(6,710 Views)