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 <3110103...@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 <fis...@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 mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to