FTP Problem to get files

3 visualizzazioni (ultimi 30 giorni)
andreas ioannou
andreas ioannou il 27 Gen 2017
Commentato: andreas ioannou il 28 Gen 2017
i am trying to download some share files from ftp online server
my code
filename=['myname', num2str(K) ,'.wav'];
onoma=['\\tepak2\ptixiaki\' , filename];
dir(ts,onoma)
mget(ts,onoma)
and i get get follow message
myname1.wav
Error using ftp/mget (line 106) File "\\tepak2\ptixiaki\myname1.wav" not found on server.
Error in Untitled2 (line 13) mget(ts,onoma)
anyone know what to do? thnx
  2 Commenti
Guillaume
Guillaume il 27 Gen 2017
Well, is the file found in that location?
andreas ioannou
andreas ioannou il 28 Gen 2017
Thanks for the reply, its a online ftp server so i use a program to get the full path of the folder. When i try to get the file it say not found on server but when i use dir to see the lists files and folders in the current folder i get the message myname1.wav and this is the file i wanna download.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by