Solved

ftp script

Posted on 2008-06-26
4
328 Views
Last Modified: 2013-12-16
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
Comment
Question by:terencepires
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:laneduncan
Comment Utility
You might consider using a shell script, something like what is described on this site:
http://www.bradrice.com/wposx/archives/57

0
 
LVL 1

Author Comment

by:terencepires
Comment Utility
isn't there a syntax type that could allow usernames with an @ ?
0
 
LVL 10

Accepted Solution

by:
laneduncan earned 500 total points
Comment Utility
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
 
LVL 1

Author Closing Comment

by:terencepires
Comment Utility
thanks for your advice, i'll give it a shot !

Cheers

Terence
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now