FTP Problem to get files

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 件)

タグ

質問済み:

2017 年 1 月 27 日

コメント済み:

2017 年 1 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by