FTP Problem to get files

3 次查看(过去 30 天)
andreas ioannou
andreas ioannou 2017-1-27
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 个评论
Guillaume
Guillaume 2017-1-27
Well, is the file found in that location?
andreas ioannou
andreas ioannou 2017-1-28
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.

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by