Hi Dear Bruce Thanks for your reply. Do you mean change to source directory in my computer? but I can’t, It appears 550 Failed to change directory. I find I can only change to / directory. I did some try but all failed.
Name (surfer.nmr.mgh.harvard.edu:Brainwaver): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd /Users/Brainwaver/Desktop 550 Failed to change directory. ftp> cd / 250 Directory successfully changed. ftp> put /Cong2Bruce.zip local: /Cong2Bruce.zip remote: /Cong2Bruce.zip 229 Entering Extended Passive Mode (|||37894|). 553 Could not create file. ftp> put Cong2Bruce.zip local: Cong2Bruce.zip remote: Cong2Bruce.zip ftp: Can't open `Cong2Bruce.zip': No such file or directory ftp> cd /Cong2Bruce.zip 550 Failed to change directory. ftp> cd / 250 Directory successfully changed. ftp> cd transfer/incoming 250 Directory successfully changed. ftp> put /Cong2Bruce local: /Cong2Bruce remote: /Cong2Bruce ftp: Can't open `/Cong2Bruce': No such file or directory ftp> put /Cong2Bruce.zip local: /Cong2Bruce.zip remote: /Cong2Bruce.zip 229 Entering Extended Passive Mode (|||37856|). 553 Could not create file. ftp>
Best Wishes Cong Chen
Date: Mon, 17 Oct 2016 23:16:52 -0400 From: Bruce Fischl fischl@nmr.mgh.harvard.edu
Try changing dir into the source directory then do the put with only the file name and no path Cheers Bruce
On Oct 17, 2016, at 10:33 PM, Cong 3110103623@zju.edu.cn wrote:
Hi Bruce full session is listed. Thank you very much.
Best Wishes Cong
BrainwaverdeMacBook-Pro:~ Brainwaver$ ftp surfer.nmr.mgh.harvard.edu Connected to surfer.nmr.mgh.harvard.edu. 220-This is the Martinos Center Anonymous FTP service. Use of this site 220-shows implicit consent to our Acceptable Use Policy outlined at 220-http://www.nmr.mgh.harvard.edu/martinos/userInfo/computer/nmr-aup.php 220- 220-OPERATIONAL NOTE: If, when doing a GET or PUT, you encounter either 220- 220-229 Entering Extended Passive Mode 220- 220- and nothing happens OR 220- 220-229 Entering Extended Passive Mode 220-500 Bad EPRT protocol. 220- 220- try issuing the EPSV command prior to GET or PUT. 220- 220 Name (surfer.nmr.mgh.harvard.edu:Brainwaver): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd transfer/incoming 250 Directory successfully changed. ftp> put /Users/Brainwaver/Desktop/Cong2Bruce.zip local: /Users/Brainwaver/Desktop/Cong2Bruce.zip remote: /Users/Brainwaver/Desktop/Cong2Bruce.zip 229 Entering Extended Passive Mode (|||37896|). 553 Could not create file. ftp> epsv EPSV/EPRT on IPv4 off. ftp> put /Users/Brainwaver/Desktop/Cong2Bruce.zip local: /Users/Brainwaver/Desktop/Cong2Bruce.zip remote: /Users/Brainwaver/Desktop/Cong2Bruce.zip 227 Entering Passive Mode (132,183,202,158,147,230). 553 Could not create file. ftp>
Date: Sun, 16 Oct 2016 16:04:12 -0400 (EDT) From: Bruce Fischl fischl@nmr.mgh.harvard.edu
Hi Cong
can you send us your full session history - what exact commands did you type and what was the screen output?
cheers Bruce
On Sun, 16 Oct 2016, Cong wrote:
Dear freesurfer experts? ? When I use command "put path/to/my/file?,?it?s always appear an error "229 Entering Extended Passive Mode (|||37867|). 553 Could not create file?, if I use epsv?command before put, then comes an error "227 Entering Passive Mode (132,183,202,158,147,237).?553 Could not create file?. Could you give me some advices?
Best Wishes Cong Chen
freesurfer@nmr.mgh.harvard.edu