• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

ftp script

Hi,

I'm trying to make an ftp URL to connect to a ftp server using the ftp command on Mac OS.
The username I have is like this :
blablabla@blibli.com

So the command to connect is this one
blablabla@blibli.com:password@server.com

I'm can't get ftp to connect to the server in one command since it always assumes I want to connect to "@blibli.com" when I want to connect to "server.com"...

Anyone has an idea ?

Cheers

Terence
0
terencepires
Asked:
terencepires
  • 2
  • 2
1 Solution
 
laneduncanCommented:
You might consider using a shell script, something like what is described on this site:
http://www.bradrice.com/wposx/archives/57

0
 
terencepiresAuthor Commented:
isn't there a syntax type that could allow usernames with an @ ?
0
 
laneduncanCommented:
Not that I'm aware of, from the command line, that is.
I do believe that curl will allow you to do this, however, with the -u switch.  I'd recommend giving it a shot:
http://curl.netmirror.org/
0
 
terencepiresAuthor Commented:
thanks for your advice, i'll give it a shot !

Cheers

Terence
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now