This is a test version of Biostars. For the public version, visit https://www.biostars.org.
lftp mput 530 Login incorrect

Hi,

I'm trying to upload a series of .fastq files to ENA. I used

>lftp webin2.ebi.ac.uk -u Webin-XXXX
>my_ENA_password

to connect to the ENA server, then I used

lcd /directory/to/my/fastq/files/to/upload

Everything up to here worked fine without issues. But when I do:

mput *.fastq

I kept getting these messages:

mput: lab_102_CCAGTGTATGCA_TACGTGTACGTG_S112_L001_R2_001.fastq: Login failed: 530 Login incorrect.
mput: lab_103_CCAGTGTATGCA_CAATTAGCTCTG_S113_L001_R1_001.fastq: Login failed: 530 Login incorrect.
mput: lab_103_CCAGTGTATGCA_CAATTAGCTCTG_S113_L001_R2_001.fastq: Login failed: 530 Login incorrect.
mput: lab_104_CCAGTGTATGCA_AGGACTGGATAA_S114_L001_R1_001.fastq: Login failed: 530 Login incorrect.
mput: lab_104_CCAGTGTATGCA_AGGACTGGATAA_S114_L001_R2_001.fastq: Login failed: 530 Login incorrect.
mput: lab_105_CCTCGTTCGACT_TGTGGGTTGATC_S115_L001_R1_001.fastq: Login failed: 530 Login incorrect.
mput: lab_105_CCTCGTTCGACT_TGTGGGTTGATC_S115_L001_R2_001.fastq: Login failed: 530 Login incorrect.
mput: lab_106_CCTCGTTCGACT_GAAGTCTCGCAT_S116_L001_R1_001.fastq: Login failed: 530 Login incorrect.
mput: lab_106_CCTCGTTCGACT_GAAGTCTCGCAT_S116_L001_R2_001.fastq: Login failed: 530 Login incorrect

I'm not sure why this happened because I used to use this why to successfully upload files to ENA. My connection to the server also seems fine and every time I logged out and then logged in, all worked well without issues.

Anyone knows what's going on? Thanks so much!!

software error

so it works after logging out/in again or not?

on a side note: make sure to upload .gz (zipped files) to ENA, they prefer that and it will also save upload time.

The mput *.gz still doesn't work after logging out/in. But never had problems with logging in. And thanks for the note, I actually gunzipped the files because when it didn't work at the first time, I thought the issue was the ENA doesn't take the .gz format, so I gunzipped the files. I can zip them back.

are you uploading to the correct folder?

I think it should be correct folder... because based the the ENA data uploading instruction here:

Open a terminal and type lftp webin2.ebi.ac.uk -u Webin-xxxxx, filling in your Webin username
Enter your password when prompted
Type ls command to check the content of your drop box.
Use mput <filename> command to upload files.
Use bye command to exit the ftp client.

as long as you successfully connected to the ENA server, it should be able to directly direct you to the correct folder, no extra steps needed. But I did us "ls" command to check what's in the dropbox, it gives:

lftp Webin-52939@webin2.ebi.ac.uk:~> ls              
ls: Login failed: 530 Login incorrect.

So it seems I'm not successfully login?

But it didn't say anything like "password wrong", or "no such user" or anything....

So it seems I'm not successfully login?

Do you get prompted for password and are able to enter it? If not something is not right. You should ask EBI support if your folder not properly set up.

1 answer

I asked ENA, it turns out that this is due to be a result of an institutional firewall not configured to allow FTPS connections, I should use my home wifi instead of school vpn.

Thanks for providing a clarification. That makes sense. You can accept this explanation (I moved the comment to an answer) to provide closure to this thread.

Log in to answer this question.