FTP Problem to get files

13 Ansichten (letzte 30 Tage)
andreas ioannou
andreas ioannou am 27 Jan. 2017
Kommentiert: andreas ioannou am 28 Jan. 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 Kommentare
Guillaume
Guillaume am 27 Jan. 2017
Well, is the file found in that location?
andreas ioannou
andreas ioannou am 28 Jan. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by